/* Error Reporting Bottom Sheet Styles */

.footer-copyright {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 112px;
    text-align: center;
}

.footer-copyright-copy {
    display: inline-block;
    white-space: nowrap;
}

.report-error-link {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    text-decoration: none;
    line-height: 1;
    color: #fff;
}

.report-error-text-short {
    display: none;
}

@media (max-width: 900px) {
    .footer-copyright {
        padding: 0 56px;
    }
    .report-error-link {
        right: 6px;
    }
    .report-error-text-full {
        display: none;
    }
    .report-error-text-short {
        display: inline;
    }
}

@media (max-width: 440px) {
    footer.corporate-label {
        height: auto !important;
        min-height: 100px;
        max-height: none !important;
        overflow: visible !important;
        padding: 8px 10px 12px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .footer-top-row {
        display: flex;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .footer-middle-row {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        font-size: 13px;
        color: #fff;
    }

    .footer-middle-row .footer-links {
        margin: 0 10px !important;
    }

    .footer-separator {
        color: rgba(255, 255, 255, 0.4);
        font-size: 14px;
    }

    .footer-copyright {
        padding: 0 10px !important;
        display: block !important;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.9);
        text-align: center;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-copyright-copy {
        position: relative;
        z-index: 10;
        pointer-events: none; /* Allows clicking the RAE button through the text */
    }

    .report-error-link {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #000 !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        opacity: 1;
        font-size: 12px;
        font-weight: normal;
        text-decoration: none;
        z-index: 5;
    }
}

/* Base Bottom Sheet - Global */
.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    box-sizing: border-box;
    padding: 0 20px;
}

.bottom-sheet.active {
    bottom: 0;
}

.bottom-sheet-content {
    width: 100%;
    max-width: 500px; /* Reduced from 900 for better form look */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.2);
    padding: 32px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bottom-sheet-header h3 {
    margin: 0;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    color: #111;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.close-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    transition: background 0.2s;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #111;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #444;
    font-weight: 500;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #111;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.status-msg {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}
