/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Image */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/myclaimbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

/* Top Navigation Bar */
.navbar {
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 0;
    background-color: #ffffff !important;
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1B4C64;
    margin: 0;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: #4a5568 !important;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.nav-link:hover {
    color: #5D9AB6 !important;
    background-color: #f0f4f8;
}

.nav-link.active {
    color: #5D9AB6 !important;
    font-weight: 500;
}

.btn-sign-out {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-sign-out:hover {
    background-color: #c82333;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
    width: 100%;
}

/* Footer Bar */
.footer-bar {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 1rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    color: #6b6b6b;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link {
    color: #5D9AB6;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #4a7a95;
    text-decoration: underline;
}

.footer-divider {
    color: #d0d0d0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 1rem;
        gap: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .btn-sign-out {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 1.25rem;
    }

    .navbar-logo {
        height: 35px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .insurer-contact-block {
        position: static;
        text-align: center;
        margin-bottom: 1rem;
    }

    .insurer-logo {
        height: 40px;
        max-width: 120px;
    }

    .welcome-section {
        padding: 1.5rem;
    }
}

/* Welcome Section Styles */
.welcome-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
}

.insurer-contact-block {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.insurer-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.insurer-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.insurer-logo {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.welcome-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 1rem;
    color: #6b6b6b;
    margin: 0;
}

/* Action Cards */
.action-card {
    background: linear-gradient(180deg, #5D9AB6 1%, #2d3748 200%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(93, 154, 182, 0.3);
    color: white;
}

/* Smaller Action Cards */
.action-card-sm {
    background: #ffffff;
    color: #2d3748;
    border: 1px solid #d7dee8;
    box-shadow: 0 2px 8px rgba(45, 55, 72, 0.08);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.action-card-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.14);
    color: #1f2937;
    border-color: #c7d1dd;
}

/* Claim Info Card */
.claim-info-card {
    background-color: rgba(255, 255, 255, 0.45) !important;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.claim-info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #4a5568;
}

.info-value {
    color: #2d3748;
}

/* Claim Status Tracker */
.claim-status-tracker {
    background-color: rgba(255, 255, 255, 0.45) !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
}

/* Status Header */
.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.status-welcome {
    flex: 1;
}

.status-welcome-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.2rem;
}

.status-welcome-subtitle {
    font-size: 0.9rem;
    color: #6b6b6b;
    margin: 0;
}

.status-insurer {
    flex-shrink: 0;
    margin-left: 2rem;
}

.insurer-logo-status {
    height: 45px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.status-divider {
    margin: 0.75rem 0;
    border: 0;
    border-top: 1px solid #e0e0e0;
}

.status-timeline {
    margin-bottom: 1rem;
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.status-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.status-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cbd5e0;
    margin-bottom: 0.4rem;
    transition: all 0.3s ease;
}

.status-item.completed .status-circle {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.status-item.active .status-circle {
    background: linear-gradient(135deg, #5D9AB6 0%, #6FA4C1 100%);
    box-shadow: 0 0 0 3px rgba(93, 154, 182, 0.45), 0 0 0 6px rgba(93, 154, 182, 0.18);
    animation: pulse 2s ease-in-out infinite;
}

.status-item.pending .status-circle {
    background-color: #cbd5e0;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(93, 154, 182, 0.45), 0 0 0 6px rgba(93, 154, 182, 0.18);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(93, 154, 182, 0.35), 0 0 0 10px rgba(93, 154, 182, 0.24);
    }
}

.status-label {
    font-size: 0.78rem;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.3;
}

.status-item.completed .status-label {
    color: #2d3748;
}

/* Current Status Message */
.current-status-message {
    background: linear-gradient(180deg, #5D9AB6 1%, #2d3748 200%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.current-status-message h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.current-status-message p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Status Info Boxes */
.status-info-box {
    background-color: #f8f9fa;
    padding: 0.9rem;
    border-radius: 8px;
    height: 100%;
}

.status-info-box h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.6rem;
}

.todo-list,
.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.todo-list li,
.timeline-list li {
    padding: 0.3rem 0;
    color: #4a5568;
    font-size: 0.9rem;
}

.timeline-list li strong {
    color: #2d3748;
}

/* Report Issue Button */
.btn-report-issue {
    background: linear-gradient(180deg, #5D9AB6 1%, #2d3748 200%);
    border: 2px solid rgba(20, 33, 51, 0.45);
    color: white;
    padding: 0.8rem 1.2rem;
    min-height: 48px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    box-shadow: 0 7px 18px rgba(45, 55, 72, 0.3);
}

.btn-report-issue::after {
    content: '\2192';
    font-size: 1.05rem;
    opacity: 0.9;
}

.btn-report-issue.btn-report-issue-plain::after {
    content: none;
}

.btn-report-issue:hover {
    background: linear-gradient(180deg, #5D9AB6 1%, #2d3748 200%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(45, 55, 72, 0.35);
    filter: saturate(1.05);
}

.btn-report-issue:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(45, 55, 72, 0.3);
}

.btn-report-issue:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75), 0 0 0 6px rgba(45, 55, 72, 0.7);
}

.btn-cta-prominent {
    background: linear-gradient(180deg, #5D9AB6 1%, #2d3748 200%) !important;
    border: 2px solid rgba(20, 33, 51, 0.45) !important;
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(45, 55, 72, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-cta-prominent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(45, 55, 72, 0.35);
    filter: saturate(1.05);
}

.btn-cta-prominent:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75), 0 0 0 6px rgba(45, 55, 72, 0.7);
}

/* Responsive Status Tracker */
@media (max-width: 992px) {
    .status-row {
        flex-wrap: wrap;
    }

    .status-item {
        flex: 0 0 calc(50% - 0.5rem);
        margin-bottom: 1rem;
    }

    .status-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-insurer {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .claim-status-tracker {
        padding: 1.5rem;
    }

    .status-circle {
        width: 40px;
        height: 40px;
    }

    .status-label {
        font-size: 0.8rem;
    }

    .current-status-message {
        padding: 1.25rem;
    }

    .current-status-message h4 {
        font-size: 1.1rem;
    }

    .current-status-message p {
        font-size: 0.9rem;
    }

    .status-welcome-title {
        font-size: 1.4rem;
    }

    .status-welcome-subtitle {
        font-size: 0.9rem;
    }

    .insurer-logo-status {
        height: 35px;
        max-width: 110px;
    }
}

/* Page Header Styles */
.page-header {
    margin-top: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1B4C64;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 0;
}