body {
    background: #f8fafc;
    color: #1a1a1a;
}

/* Report Submission Form Custom Styles */
.report-form-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.report-form-card {
    width: 100%;
    max-width: 900px;
    margin: 2.5rem auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 6px 32px 0 rgba(30, 60, 120, 0.13);
    border: none;
    overflow: hidden;
}

.report-form-header {
    background: linear-gradient(90deg, #1976d2 0%, #21a1ff 100%);
    color: #fff;
    padding: 1.2rem 2rem 1.2rem 2rem;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 2px 8px 0 rgba(30, 60, 120, 0.08);
    text-align: center;
}

.report-form-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    text-align: center;
}

.report-form-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
    text-align: center;
}

.report-form-header .ez-black, .report-form-header .ez-blue {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(30,60,120,0.13);
}

.report-form-body {
    padding: 2.2rem 2rem 2rem 2rem;
}

.report-form-section {
    margin-bottom: 2.5rem;
}

.report-form-section:last-child {
    margin-bottom: 0;
}

.report-form-divider {
    border: none;
    border-top: 1.5px solid #e3e8ee;
    margin: 2.5rem 0;
}

.report-form-label {
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.13rem;
}

.report-form .form-floating {
    position: relative;
    margin-bottom: 1.7rem;
}

.report-form .form-floating > .form-control,
.report-form .form-floating > textarea {
    border-radius: 1rem;
    box-shadow: 0 1px 6px 0 rgba(30, 60, 120, 0.07);
    font-size: 1.13rem;
    padding: 1.1rem 1.1rem 1.1rem 3.2rem;
    border: 1.5px solid #e3e8ee;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: #fafdff;
    min-height: 56px;
    width: 100%;
    resize: none;
    padding-left: 2.2rem !important;
}

.report-form .form-floating > .form-control:focus,
.report-form .form-floating > textarea:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px #21a1ff33;
    background: #fff;
}

.report-form .form-floating > .form-control:hover,
.report-form .form-floating > textarea:hover {
    border-color: #21a1ff;
    background: #f4faff;
}

.report-form .form-floating > label {
    color: #1976d2;
    font-weight: 500;
    left: 3.2rem;
    top: 1.1rem;
    pointer-events: none;
    transition: all 0.2s;
    opacity: 0.85;
    background: transparent;
    padding: 0 0.2rem;
}

.report-form .form-floating > .form-control:focus ~ label,
.report-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.report-form .form-floating > textarea:focus ~ label,
.report-form .form-floating > textarea:not(:placeholder-shown) ~ label {
    top: -0.9rem;
    left: 2.7rem;
    font-size: 0.98rem;
    background: #fff;
    padding: 0 0.3rem;
    opacity: 1;
    color: #1976d2;
    z-index: 2;
}

.report-form .form-floating .input-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #21a1ff;
    opacity: 0.85;
    pointer-events: none;
    z-index: 3;
}

.report-form .input-group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-bottom: 0.5rem;
}

.report-form .input-group .form-control {
    border-radius: 1.5rem 0 0 1.5rem;
    border: 1.5px solid #e3e8ee;
    box-shadow: 0 1px 6px 0 rgba(30, 60, 120, 0.07);
    font-size: 1.13rem;
    padding: 1.1rem 1.2rem;
    height: 56px;
    background: #fafdff;
    flex: 1 1 auto;
    min-width: 0;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.report-form .input-group .form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px #21a1ff33;
    background: #fff;
}

.report-form .input-group .btn {
    border-radius: 0 1.5rem 1.5rem 0;
    font-size: 1.13rem;
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
    font-weight: 700;
    margin-left: -1px;
    box-shadow: 0 1px 6px 0 rgba(30, 60, 120, 0.07);
    white-space: nowrap;
}

.report-form .d-grid {
    display: flex !important;
    justify-content: center;
}

.report-form .btn-primary.btn-lg {
    background: linear-gradient(90deg, #1976d2 0%, #21a1ff 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 2.5rem;
    padding: 1.1rem 2.5rem;
    box-shadow: 0 4px 18px 0 rgba(30, 60, 120, 0.13);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    letter-spacing: 0.01em;
}

.report-form .btn-primary.btn-lg:hover, .report-form .btn-primary.btn-lg:focus {
    background: linear-gradient(90deg, #21a1ff 0%, #1976d2 100%);
    box-shadow: 0 8px 24px 0 rgba(30, 60, 120, 0.18);
    transform: translateY(-2px) scale(1.03);
    color: #fff;
    text-decoration: none;
}

.report-form .btn-primary.btn-lg i {
    font-size: 1.3em;
    margin-right: 0.5rem;
}

.report-form .btn-danger {
    background: #e74c3c;
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 1rem;
    padding: 0.95rem 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}

.report-form .btn-danger:hover {
    background: #c0392b;
    box-shadow: 0 2px 8px 0 rgba(231, 76, 60, 0.13);
    transform: translateY(-1px);
}

.report-form .form-check-input:checked {
    background-color: #1976d2;
    border-color: #1976d2;
}

.report-form .form-check-label {
    font-weight: 500;
    color: #333;
    margin-left: 0.5rem;
}

.report-form .form-check {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.7rem;
}

.report-form .form-check-input[type="checkbox"] {
    margin-top: 0;
    margin-bottom: 0;
}

.report-form .form-check-label {
    margin-left: 0;
    padding-top: 0.05em;
}

.report-form small.text-muted {
    margin-top: 0.3rem;
    display: block;
}

/* Escalation email input */
#escalationEmailContainer .form-control {
    border-radius: 1.5rem;
    border: 1.5px solid #e3e8ee;
    box-shadow: 0 1px 6px 0 rgba(30, 60, 120, 0.07);
    font-size: 1.13rem;
    padding: 1.1rem 1.2rem;
    height: 56px;
    background: #fafdff;
    margin-top: 0.5rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
#escalationEmailContainer .form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px #21a1ff33;
    background: #fff;
}

@media (max-width: 767px) {
    .report-form-body {
        padding: 1rem;
    }
    .report-form-header {
        padding: 1.2rem 1rem 0.7rem 1rem;
    }
    .report-form-card {
        margin: 1rem auto;
    }
    .report-form-section {
        margin-bottom: 1.2rem;
    }
    .report-form-divider {
        margin: 1.2rem 0;
    }
    .report-form .form-floating > .form-control,
    .report-form .form-floating > textarea {
        font-size: 1rem;
        padding: 0.9rem 0.9rem 0.9rem 2.5rem;
    }
    .report-form .form-floating > label {
        left: 2.5rem;
        top: 0.9rem;
    }
    .report-form .form-floating > .form-control:focus ~ label,
    .report-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
    .report-form .form-floating > textarea:focus ~ label,
    .report-form .form-floating > textarea:not(:placeholder-shown) ~ label {
        top: -0.7rem;
        left: 2rem;
        font-size: 0.92rem;
    }
    .report-form .form-floating .input-icon {
        left: 0.7rem;
        font-size: 1.1rem;
    }
    .report-form .input-group {
        flex-direction: column;
        align-items: stretch;
    }
    .report-form .input-group .form-control {
        border-radius: 1.5rem 1.5rem 0 0;
        margin-bottom: 0;
        height: 48px;
        font-size: 1rem;
    }
    .report-form .input-group .btn {
        border-radius: 0 0 1.5rem 1.5rem;
        margin-left: 0;
        height: 48px;
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
    #escalationEmailContainer .form-control {
        height: 48px;
        font-size: 1rem;
    }
}

.report-form .btn-add-more {
    background: linear-gradient(90deg, #1976d2 0%, #21a1ff 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    border-radius: 1.5rem;
    padding: 0.7rem 1.5rem;
    box-shadow: 0 2px 8px 0 rgba(30, 60, 120, 0.10);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.report-form .btn-add-more:hover, .report-form .btn-add-more:focus {
    background: linear-gradient(90deg, #21a1ff 0%, #1976d2 100%);
    box-shadow: 0 4px 12px 0 rgba(30, 60, 120, 0.16);
    transform: translateY(-1px) scale(1.03);
    color: #fff;
    text-decoration: none;
}

.report-form .form-floating > textarea {
    padding-left: 2.2rem !important;
}
.report-form .form-floating .input-icon {
    top: 50%;
    transform: translateY(-50%);
}

#updateEmailContainer .form-control {
    border-radius: 1.5rem;
    border: 1.5px solid #e3e8ee;
    box-shadow: 0 1px 6px 0 rgba(30, 60, 120, 0.07);
    font-size: 1.13rem;
    padding: 1.1rem 1.2rem;
    height: 56px;
    background: #fafdff;
    margin-top: 1rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
#updateEmailContainer .form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px #21a1ff33;
    background: #fff;
}

#description.form-control {
    min-height: 120px;
    height: auto;
}

#involved.form-control {
    min-height: 100px;
    height: auto;
}

.question-label {
    display: block;
    font-size: 1.18rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 0.7rem;
    margin-left: 0.1rem;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.report-form .form-check-input[type="checkbox"] {
    width: 1.5em;
    height: 1.5em;
    border-radius: 0.4em;
    border: 2px solid #b0c4de;
    margin-right: 0.7em;
    margin-top: 0.1em;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px 0 rgba(30, 60, 120, 0.07);
}
.report-form .form-check-input[type="checkbox"]:checked {
    background-color: #1976d2;
    border-color: #1976d2;
}
.report-form .form-check-label {
    font-size: 1.13rem;
    font-weight: 500;
    color: #222;
    margin-left: 0.2em;
    cursor: pointer;
}

@media (max-width: 600px) {
  .report-form-card {
    max-width: 98vw;
    margin: 1rem auto;
    border-radius: 1.1rem;
  }
  .report-form-body {
    padding: 1rem 0.5rem 1.2rem 0.5rem;
  }
  .question-label, .report-form-label {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }
  .report-form-section {
    margin-bottom: 1.1rem;
  }
  .report-form-divider {
    margin: 1.1rem 0;
  }
  .report-form .form-floating > .form-control,
  .report-form .form-floating > textarea,
  .report-form .input-group .form-control,
  #escalationEmailContainer .form-control,
  #updateEmailContainer .form-control {
    font-size: 1rem;
    padding: 0.85rem 0.9rem 0.85rem 2.1rem;
    height: 44px;
    min-height: 44px;
    border-radius: 1rem;
  }
  .report-form .form-floating .input-icon {
    left: 0.7rem;
    font-size: 1.1rem;
  }
  .report-form .input-group {
    flex-direction: column;
    align-items: stretch;
  }
  .report-form .input-group .form-control {
    border-radius: 1rem 1rem 0 0;
    margin-bottom: 0;
    height: 44px;
    font-size: 1rem;
  }
  .report-form .input-group .btn,
  .report-form .btn-add-more {
    border-radius: 0 0 1rem 1rem;
    margin-left: 0;
    height: 44px;
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    width: 100%;
    justify-content: center;
  }
  .report-form .d-grid {
    display: flex !important;
    justify-content: center;
    width: 100%;
  }
  .report-form .btn-primary.btn-lg {
    width: 100%;
    font-size: 1.08rem;
    padding: 1rem 0;
  }
  .report-form .form-check-label {
    font-size: 1rem;
  }
  .report-form .form-check-input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
  }
}

.report-navbar {
    border-bottom: 1.5px solid #e3e8ee;
    background: #fff;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    margin-bottom: 2.2rem;
    box-shadow: 0 2px 8px 0 rgba(30, 60, 120, 0.03);
}
.report-brand-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    display: flex;
    align-items: center;
}
.ez-black {
    color: #222;
}
.ez-blue {
    color: #1976d2;
}
@media (max-width: 600px) {
    .report-navbar {
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        margin-bottom: 1.1rem;
    }
    .report-brand-title {
        font-size: 1.3rem;
    }
    .report-navbar img {
        height: 36px !important;
        width: 36px !important;
    }
}

.report-hero-header {
    background: transparent;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    text-align: center;
    padding: 0;
}
.report-hero-header img {
    display: block;
    margin: 0 auto 0.3rem auto;
    height: 54px;
    width: 54px;
    object-fit: contain;
}
.report-hero-title {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    display: inline-block;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .report-hero-header {
        margin-top: 0.2rem;
        margin-bottom: 0.1rem;
        padding: 0;
    }
    .report-hero-header img {
        height: 36px;
        width: 36px;
        margin-bottom: 0.15rem;
    }
    .report-hero-title {
        font-size: 1.1rem;
    }
}

.form-header-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    text-align: center;
}
.form-header-brand img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .form-header-brand {
        gap: 0.5rem;
        margin: 0.7rem 0 0.7rem 0;
    }
    .form-header-brand img {
        height: 32px;
        width: 32px;
    }
}

.section-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.form-group {
    margin-bottom: 1.5rem;
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0 2rem 0;
}

.public-checkbox {
    margin-bottom: 2rem;
}

.d-grid.gap-2.mt-4 {
    margin-top: 2.5rem !important;
}

.nav-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.12rem;
}

    .nav-home-button:hover {
        background: rgba(255, 255, 255, 0.25);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-home-button i {
        font-size: 1.1rem;
    }

.form-header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

    .page-loader.fade-out {
        opacity: 0;
        pointer-events: none;
    }

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
  .report-form .input-group {
    flex-direction: row;
    align-items: stretch;
    position: static;
  }
  .report-form .input-group-text {
    position: static;
    background: #fafdff;
    border: 1.5px solid #e3e8ee;
    border-radius: 1.5rem 0 0 1.5rem;
    padding: 0 1rem;
    font-size: 1.13rem;
    color: #1976d2;
    display: flex;
    align-items: center;
    height: 48px;
  }
  .report-form .input-group .form-control {
    padding-left: 1rem !important;
    border-radius: 0 1.5rem 1.5rem 0;
    height: 48px;
  }
}

.file-upload-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

    .file-upload-loader .loader-spinner {
        width: 50px;
        height: 50px;
        border: 5px solid #f3f3f3;
        border-top: 5px solid #1976d2;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-bottom: 20px;
    }

    .file-upload-loader .loader-text {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1976d2;
        margin-bottom: 10px;
    }

    .file-upload-loader .loader-subtext {
        font-size: 1rem;
        color: #666;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.success-message {
    text-align: center;
    padding: 2rem;
}

    .success-message .success-icon {
        font-size: 4rem;
        color: #28a745;
        margin-bottom: 1rem;
    }

    .success-message .success-title {
        color: #1976d2;
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .success-message .case-id-container {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        margin: 1rem 0;
        display: inline-block;
    }

    .success-message .case-id-label {
        font-weight: 600;
        margin-right: 0.5rem;
    }

    .success-message .case-id {
        font-family: monospace;
        font-size: 1.2rem;
        color: #1976d2;
    }

    .success-message .success-text {
        color: #666;
        margin-bottom: 2rem;
    }