/* =============================================
   REPORT PAGE STYLES
   ============================================= */

/* ----------------------------------------------
   HEADER
   ---------------------------------------------- */
.report-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 11, 19, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0 2rem;
}

.report-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
}

.report-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-heading);
    text-decoration: none;
}

.report-logo:hover {
    color: var(--color-heading);
}

.report-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-link);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.report-back:hover {
    background: rgba(123, 77, 255, 0.1);
    border-color: rgba(123, 77, 255, 0.2);
    color: var(--color-heading);
}

/* ----------------------------------------------
   MAIN LAYOUT
   ---------------------------------------------- */
.report-main {
    position: relative;
    margin-top: 6rem;
    min-height: calc(100vh - 6rem);
    background: var(--color-dark);
    overflow: hidden;
}

.report-grid-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.report-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.report-blob-1 {
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(123, 77, 255, 0.08), transparent);
    top: -10rem;
    left: -10rem;
    animation: reportBlobFloat 8s ease-in-out infinite alternate;
}

.report-blob-2 {
    width: 50rem;
    height: 50rem;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06), transparent);
    bottom: -15rem;
    right: -10rem;
    animation: reportBlobFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes reportBlobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(4rem, -3rem) scale(1.1); }
}

/* ----------------------------------------------
   PAGE CONTENT
   ---------------------------------------------- */
.report-page {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.report-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.report-page-title i {
    color: var(--color-primary);
}

.report-page-sub {
    font-size: 1.1rem;
    color: var(--color-link);
    margin: 0 0 2rem;
    line-height: 1.5;
}

/* ----------------------------------------------
   TABS
   ---------------------------------------------- */
.report-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 0.4rem;
}

.report-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--color-link);
    background: none;
    border: none;
    border-radius: 0.7rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.report-tab i {
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.report-tab:hover {
    color: var(--color-heading);
    background: rgba(255, 255, 255, 0.03);
}

.report-tab.active {
    color: var(--color-heading);
    background: rgba(123, 77, 255, 0.12);
    box-shadow: 0 0.2rem 0.6rem rgba(123, 77, 255, 0.1);
}

.report-tab.active i {
    color: var(--color-primary);
}

/* ----------------------------------------------
   TAB CONTENT
   ---------------------------------------------- */
.report-tab-content {
    display: none;
    animation: tabFadeIn 0.3s ease-out;
}

.report-tab-content.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(0.6rem); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------
   FORM
   ---------------------------------------------- */
.report-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.report-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.report-field label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-heading);
}

.report-required {
    color: #e74c3c;
}

.report-field select,
.report-field input,
.report-field textarea {
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--color-heading);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.6rem;
    padding: 0.7rem 1rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.report-field select:focus,
.report-field input:focus,
.report-field textarea:focus {
    border-color: var(--color-primary);
    background: rgba(123, 77, 255, 0.06);
}

.report-field textarea {
    resize: vertical;
    min-height: 7rem;
}

.report-field select option {
    background: #1a1723;
    color: var(--color-heading);
}

/* ----------------------------------------------
   SUBMIT BUTTON
   ---------------------------------------------- */
.report-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #6c3bff);
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    margin-top: 0.4rem;
}

.report-submit:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.4rem 1.6rem rgba(123, 77, 255, 0.35);
    filter: brightness(1.1);
}

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

.report-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ----------------------------------------------
   SUCCESS STATE
   ---------------------------------------------- */
.report-success {
    text-align: center;
    padding: 3rem 0;
}

.report-success i {
    font-size: 4rem;
    margin-bottom: 1.2rem;
}

#successProblem i {
    color: #2ecc71;
}

#successSuggestion i {
    color: #f6b83d;
}

#successInquiry i {
    color: var(--color-primary);
}

.report-success h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 0.6rem;
}

.report-success p {
    font-size: 1.1rem;
    color: var(--color-link);
    margin: 0 0 2rem;
    line-height: 1.5;
}

.report-success p strong {
    color: var(--color-primary);
}

.report-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.report-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #6c3bff);
    border: none;
    border-radius: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-home-btn:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.4rem 1.6rem rgba(123, 77, 255, 0.35);
    color: #fff;
}

.report-another-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--color-heading);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.report-another-btn:hover {
    background: rgba(123, 77, 255, 0.08);
    color: var(--color-primary);
    border-color: rgba(123, 77, 255, 0.2);
}

/* ----------------------------------------------
   RESPONSIVE
   ---------------------------------------------- */
@media (max-width: 768px) {
    .report-header {
        padding: 0 1rem;
    }
    .report-header-inner {
        height: 5rem;
    }
    .report-logo {
        font-size: 1.8rem;
    }
    .report-back span {
        display: none;
    }
    .report-main {
        margin-top: 5rem;
    }
    .report-page {
        padding: 3rem 1rem;
    }
    .report-page-title {
        font-size: 1.6rem;
    }
    .report-page-sub {
        font-size: 1rem;
    }
    .report-tabs {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.3rem;
    }
    .report-tab {
        justify-content: flex-start;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    .report-field select,
    .report-field input,
    .report-field textarea {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    .report-submit {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
    }
    .report-success h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .report-page {
        padding: 2rem 1rem;
    }
    .report-page-title {
        font-size: 1.3rem;
    }
    .report-page-sub {
        font-size: 0.9rem;
        margin-bottom: 1.6rem;
    }
    .report-field label {
        font-size: 0.85rem;
    }
    .report-success i {
        font-size: 3rem;
    }
    .report-success h2 {
        font-size: 1.2rem;
    }
    .report-success p {
        font-size: 0.95rem;
    }
    .report-tab {
        font-size: 0.78rem;
    }
    .report-tab i {
        font-size: 0.85rem;
    }
}
