/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    background: linear-gradient(135deg, #fef7f0 0%, #f5e6d3 50%, #f0d9c7 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Ensure all text elements use Josefin Sans */
*, *::before, *::after {
    font-family: 'Josefin Sans', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 218, 185, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 228, 196, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Status Bar - Removed */

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.home-btn, .logout-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn:hover, .logout-btn:hover {
    background-color: #f5f5f5;
}

.home-btn .material-icons {
    font-size: 20px;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.header-spacer {
    width: 40px;
}

/* Main Content */
.main-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Login Container */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5e6d3;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #666;
    margin-bottom: 32px;
    font-size: 16px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Josefin Sans', sans-serif;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #4CAF50;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Josefin Sans', sans-serif;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: #45a049;
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Welcome Message */
.welcome-message {
    padding: 0 16px;
    margin-bottom: 24px;
}

.welcome-content {
    text-align: center;
    padding: 20px 0;
}

.welcome-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-family: 'Josefin Sans', sans-serif;
}

.welcome-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    opacity: 0.8;
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 16px;
    transition: all 0.3s ease;
}

/* Desktop Layout - Sidewise Cards */
@media (min-width: 1024px) {
    .cards-container {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 24px;
        padding: 0 24px;
        flex-wrap: wrap;
    }
}

/* Cards Navigation */
.cards-navigation {
    padding: 0 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.swipe-instruction {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    font-family: 'Josefin Sans', sans-serif;
}

.swipe-instruction .material-icons {
    font-size: 18px;
    color: #999;
}

.view-all-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.view-all-btn .material-icons {
    font-size: 18px;
}

/* List View Styles */
.cards-list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Desktop - Horizontal List View */
@media (min-width: 1024px) {
    .cards-list-view {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
        flex-wrap: wrap;
    }
}

.list-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Desktop - Horizontal List Cards */
@media (min-width: 1024px) {
    .list-card {
        width: 300px;
        flex-shrink: 0;
        animation: slideInLeft 0.5s ease forwards;
        transform: translateX(-30px);
    }
    
    .list-card:nth-child(1) { animation-delay: 0.1s; }
    .list-card:nth-child(2) { animation-delay: 0.2s; }
    .list-card:nth-child(3) { animation-delay: 0.3s; }
    .list-card:nth-child(4) { animation-delay: 0.4s; }
    .list-card:nth-child(5) { animation-delay: 0.5s; }
    .list-card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.list-card:nth-child(1) { animation-delay: 0.1s; }
.list-card:nth-child(2) { animation-delay: 0.2s; }
.list-card:nth-child(3) { animation-delay: 0.3s; }
.list-card:nth-child(4) { animation-delay: 0.4s; }
.list-card:nth-child(5) { animation-delay: 0.5s; }
.list-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.list-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.list-card-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
}

.list-card-relationship {
    font-size: 12px;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.list-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.list-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-card-detail {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-card-detail .material-icons {
    color: #999;
}

.list-card-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.list-card-status.active {
    background: #4CAF50;
}

.list-card-status.inactive {
    background: #FF9800;
}

/* Stacked Cards Effect */
.stacked-cards {
    position: relative;
    height: 240px;
    margin: 20px 0;
    perspective: 1000px;
}

/* Desktop - Horizontal Stacked Cards */
@media (min-width: 1024px) {
    .stacked-cards {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: auto;
        margin: 0;
        gap: 16px;
        perspective: none;
    }
}

.stacked-card {
    position: absolute;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    transform-origin: center bottom;
    border: none;
    overflow: hidden;
}

/* Desktop - Horizontal Card Layout */
@media (min-width: 1024px) {
    .stacked-card {
        position: relative;
        width: 280px;
        height: 200px;
        flex-shrink: 0;
        transform: none !important;
        opacity: 1 !important;
        z-index: auto !important;
    }
}

.stacked-card:nth-child(1) {
    z-index: 6;
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stacked-card:nth-child(2) {
    z-index: 5;
    transform: translateY(8px) scale(0.98);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stacked-card:nth-child(3) {
    z-index: 4;
    transform: translateY(16px) scale(0.96);
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stacked-card:nth-child(4) {
    z-index: 3;
    transform: translateY(24px) scale(0.94);
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stacked-card:nth-child(5) {
    z-index: 2;
    transform: translateY(32px) scale(0.92);
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stacked-card:nth-child(6) {
    z-index: 1;
    transform: translateY(40px) scale(0.90);
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.stacked-card:hover {
    transform: translateY(-8px) scale(1.01);
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stacked-card-content {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.stacked-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.stacked-card-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stacked-card-relationship {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 500;
}

.stacked-card-body {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.stacked-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stacked-card-detail {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stacked-card-status {
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.stacked-card-status.active {
    background: #4CAF50;
}

.stacked-card-status.inactive {
    background: #FF9800;
}

/* Stack indicator */
.stack-indicator {
    position: absolute;
    top: -10px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Responsive stacked cards */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 20px;
    }
    
    .welcome-subtitle {
        font-size: 14px;
    }
    
    .welcome-content {
        padding: 16px 0;
    }
    
    .swipe-instruction {
        font-size: 12px;
    }
    
    .view-all-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .list-card-content {
        padding: 16px;
    }
    
    .list-card-name {
        font-size: 16px;
    }
    
    .list-card-detail {
        font-size: 13px;
    }
    
    .stacked-cards {
        height: 220px;
        margin: 16px 0;
    }
    
    .stacked-card {
        height: 200px;
    }
    
    .stacked-card-content {
        padding: 20px;
    }
    
    .stacked-card-name {
        font-size: 18px;
    }
    
    .stacked-card-detail {
        font-size: 13px;
    }
    
    .stacked-card-relationship {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .stacked-card-status {
        padding: 5px 10px;
        font-size: 10px;
    }
}

/* Health Cards */
.health-card {
    background: rgba(0, 0, 128, 0.8);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 128, 0.9);
    cursor: pointer;
    height: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.health-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.health-card.featured {
    background: rgba(0, 0, 128, 0.8);
    border: 2px solid rgba(0, 0, 128, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 128, 0.3);
}

/* Self cards - Navy Blue */
.health-card.self {
    background: rgba(0, 0, 128, 0.8);
    border-color: rgba(0, 0, 128, 0.9);
}

/* Dependent cards - Dark Blue */
.health-card.dependent {
    background: rgba(0, 0, 139, 0.8);
    border-color: rgba(0, 0, 139, 0.9);
}

/* Inactive cards - Orange */
.health-card.inactive {
    background: rgba(255, 165, 0, 0.8);
    border-color: rgba(255, 165, 0, 0.9);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    flex-shrink: 0;
    min-height: 30px;
}

.card-right-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    max-width: 140px;
}

.card-field {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 10px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.field-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 10px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.field-value {
    color: white;
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-logo img {
    height: 18px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.card-status {
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    margin-top: 4px;
}

.card-status.active {
    background-color: rgba(76, 175, 80, 0.8);
    color: white;
    border: 1px solid rgba(76, 175, 80, 0.9);
}

.card-status.inactive {
    background-color: rgba(244, 67, 54, 0.8);
    color: white;
    border: 1px solid rgba(244, 67, 54, 0.9);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.card-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.card-details {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.3;
}

.detail-row .label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 6px;
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.detail-row .value {
    color: white;
    font-weight: 600;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.card-footer {
    display: flex;
    gap: 12px;
}

.card-action {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.card-action:hover {
    background-color: #f5f5f5;
    border-color: #4CAF50;
}

/* Fixed Bottom Action Buttons */
.fixed-action-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.fixed-action-buttons .action-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
    font-size: 12px;
}

.fixed-action-buttons .action-button:hover {
    border-color: #4CAF50;
    background-color: #f8fff8;
}

.fixed-action-buttons .action-button .material-icons {
    font-size: 20px;
    margin-bottom: 4px;
}

.fixed-action-buttons .action-button span:last-child {
    font-size: 11px;
    font-weight: 500;
}

/* Past Claims Section */
.past-claims-section {
    margin-bottom: 80px; /* Space for fixed bottom buttons */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.date-input {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Josefin Sans', sans-serif;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-btn:hover {
    background-color: #45a049;
}

.claims-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.claim-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.claim-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

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

.claim-id {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.claim-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.claim-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.claim-status.approved {
    background-color: #d4edda;
    color: #155724;
}

.claim-status.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.claim-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.claim-amount {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.claim-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.claim-date {
    font-size: 12px;
    color: #999;
}

.no-claims {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Action Buttons (Legacy - for other pages) */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
}

.action-button:hover {
    border-color: #4CAF50;
    background-color: #f8fff8;
    transform: translateY(-2px);
}

.action-button span:first-child {
    font-size: 24px;
    margin-bottom: 8px;
}

.action-button span:last-child {
    font-size: 14px;
    font-weight: 500;
}

/* Messages */
.error-message, .success-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
    font-weight: 500;
}

.error-message {
    background-color: #ffe8e8;
    color: #f44336;
    border: 1px solid #ffcdd2;
}

.success-message {
    background-color: #e8f5e8;
    color: #4CAF50;
    border: 1px solid #c8e6c9;
}

.loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .login-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .card-footer {
        flex-direction: column;
    }
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.page-header p {
    color: #666;
    font-size: 16px;
}

/* Profile Container */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
}

.profile-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Offers Container */
.offers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.offer-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.2s;
}

.offer-card:hover {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

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

.offer-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.offer-discount {
    background-color: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.offer-body {
    margin-bottom: 20px;
}

.offer-body p {
    color: #666;
    margin-bottom: 12px;
}

.offer-validity {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.offer-footer {
    text-align: center;
}

/* Member Details */
.member-details-container {
    max-width: 800px;
    margin: 0 auto;
}

.member-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.member-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.member-card p {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
}

.member-card ul {
    color: #666;
    margin: 16px 0;
    padding-left: 20px;
}

.member-card li {
    margin-bottom: 8px;
}

/* Member Details Modal */
.member-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: #f5f5f5;
}

.modal-body {
    padding: 20px;
}

.member-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
}

.info-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 4px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 4px 0;
}

.info-label {
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

.info-value {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-align: right;
}

.info-value.active {
    color: #4CAF50;
    font-weight: 600;
}

.info-value.inactive {
    color: #f44336;
    font-weight: 600;
}

/* Member Details Page */
.member-overview {
    margin-bottom: 30px;
}

.member-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.member-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.member-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.member-avatar .material-icons {
    font-size: 24px;
    color: white;
}

.member-info h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.member-relationship {
    color: #666;
    font-size: 13px;
    margin-bottom: 6px;
}

.member-status {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    display: inline-block;
}

.member-status.active {
    background-color: #e8f5e8;
    color: #4CAF50;
}

.member-status.inactive {
    background-color: #fff3cd;
    color: #f57c00;
}

.member-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

/* Mobile responsive fixes for member details */
@media (max-width: 768px) {
    .member-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .detail-section {
        padding: 16px;
    }
    
    .detail-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .detail-row {
        margin-bottom: 8px;
        padding: 6px 0;
    }
    
    .detail-row .label {
        font-size: 12px;
    }
    
    .detail-row .value {
        font-size: 12px;
    }
}

.detail-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.detail-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.detail-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 8px;
    position: relative;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.detail-row .label {
    color: #666;
    font-weight: 500;
    font-size: 11px;
}

.detail-row .value {
    color: #333;
    font-weight: 600;
    font-size: 11px;
    text-align: right;
}

/* Benefits Section */
.benefits-section, .exclusions-section, .claims-section {
    margin-bottom: 30px;
}

.benefits-content, .exclusions-content, .claims-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.benefit-card, .exclusion-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover, .exclusion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.benefit-header, .exclusion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.benefit-header h3, .exclusion-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    position: relative;
}

.benefit-amount {
    font-size: 16px;
    font-weight: 600;
    color: #4CAF50;
}

.benefit-description, .exclusion-description {
    margin-bottom: 12px;
}

.benefit-description p, .exclusion-description p {
    color: #666;
    line-height: 1.4;
    font-size: 11px;
}

.benefit-details, .exclusion-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.benefit-detail, .exclusion-detail {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}

.benefit-detail .label, .exclusion-detail .label {
    color: #666;
    font-weight: 500;
}

.benefit-detail .value, .exclusion-detail .value {
    color: #333;
    font-weight: 600;
}

/* Claims Section */
.claims-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.claim-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.claim-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.claim-id {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.claim-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.claim-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.claim-status.approved {
    background-color: #d4edda;
    color: #155724;
}

.claim-status.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.claim-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.claim-amount {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.claim-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.claim-date {
    font-size: 12px;
    color: #999;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 12px;
}

/* New Claim Page */
.claim-step {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.step-header {
    margin-bottom: 30px;
    text-align: center;
}

.step-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    background: #e0e0e0;
    color: #666;
}

.step-number.active {
    background: #4CAF50;
    color: white;
}

.step-number.completed {
    background: #4CAF50;
    color: white;
}

.step-line {
    width: 50px;
    height: 2px;
    background: #e0e0e0;
}

.step-line.completed {
    background: #4CAF50;
}

.member-selection {
    margin-bottom: 30px;
}

.member-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.member-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: 100px;
    min-height: 100px;
}

.member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.member-card.selected {
    border-color: #4CAF50;
    background: #f8fff8;
}

.member-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    justify-content: center;
}

.member-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar .material-icons {
    font-size: 18px;
    color: white;
}

.member-details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.member-details p {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.member-status {
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 500;
    display: inline-block;
}

.member-status.active {
    background-color: #e8f5e8;
    color: #4CAF50;
}

.member-status.inactive {
    background-color: #fff3cd;
    color: #f57c00;
}

.member-amount {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.amount-label {
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
}

.amount-value {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
}

/* Mobile responsive fixes for member cards */
@media (max-width: 768px) {
    .member-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .member-card {
        grid-template-columns: 1fr 1fr;
        height: 80px;
        min-height: 80px;
        padding: 10px;
        gap: 8px;
    }
    
    .member-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        justify-content: center;
    }
    
    .member-avatar {
        width: 28px;
        height: 28px;
    }
    
    .member-avatar .material-icons {
        font-size: 16px;
    }
    
    .member-details h3 {
        font-size: 13px;
        margin-bottom: 1px;
    }
    
    .member-details p {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .member-amount {
        text-align: right;
        align-items: flex-end;
    }
    
    .amount-label {
        font-size: 9px;
    }
    
    .amount-value {
        font-size: 12px;
    }
}

.claim-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
}

.maternity-details, .injury-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.fir-details, .fir-number-details {
    background: #e8f4fd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #2196F3;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.member-eligibility {
    margin-bottom: 30px;
}

.claim-amount-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.claim-amount-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 8px;
}

.form-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

.eligibility-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.eligibility-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.eligibility-details {
    margin-bottom: 16px;
}

.eligibility-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.eligibility-item:last-child {
    border-bottom: none;
}

.eligibility-item .label {
    color: #666;
    font-weight: 500;
}

.eligibility-item .value {
    color: #333;
    font-weight: 600;
}

.eligibility-note {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.document-upload {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.document-upload h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.document-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.document-item .material-icons {
    font-size: 18px;
    color: #4CAF50;
}

.upload-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.upload-options {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
}

.upload-btn:hover {
    background: #e9ecef;
    border-color: #4CAF50;
}

.upload-btn .material-icons {
    font-size: 18px;
}

.uploaded-files {
    min-height: 60px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 16px;
}

.no-files {
    text-align: center;
    color: #666;
    font-style: italic;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.uploaded-file .material-icons {
    font-size: 16px;
    color: #4CAF50;
}

.file-name {
    flex: 1;
    color: #333;
}

.file-size {
    color: #666;
    font-size: 12px;
}

.remove-file {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-file:hover {
    background: #cc0000;
}

/* Camera Modal Styles */
#cameraModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.camera-modal-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.camera-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.camera-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.camera-close:hover {
    background-color: #f0f0f0;
}

.camera-viewfinder {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-canvas {
    display: none;
}

.camera-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.camera-capture-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.camera-capture-btn:hover {
    background: #45a049;
}

.camera-cancel-btn {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.camera-cancel-btn:hover {
    background: #e0e0e0;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .camera-modal-content {
        max-width: 95%;
        padding: 16px;
    }
    
    .camera-viewfinder {
        height: 300px;
    }
    
    .camera-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .camera-capture-btn,
    .camera-cancel-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Benefits, exclusions, and claims mobile fixes */
    .benefits-content, .exclusions-content, .claims-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .benefit-card, .exclusion-card, .claim-card {
        padding: 16px;
    }
    
    .benefit-header, .exclusion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .benefit-header h3, .exclusion-header h3 {
        font-size: 16px;
    }
    
    .benefit-amount {
        font-size: 18px;
    }
    
    .benefit-description p, .exclusion-description p {
        font-size: 12px;
    }
    
    .benefit-detail, .exclusion-detail {
        font-size: 11px;
    }
    
    .claim-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .claim-amount {
        font-size: 16px;
    }
    
    .claim-description {
        font-size: 12px;
    }
    
    .claim-date {
        font-size: 11px;
    }
}

/* View Claims Page Styles */
.claims-section {
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.claims-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.claims-filters select,
.claims-filters input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

.claims-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.claim-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.claim-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

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

.claim-id {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.claim-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-draft {
    background: #fff3cd;
    color: #856404;
}

.status-submitted {
    background: #d1ecf1;
    color: #0c5460;
}

.status-under-review {
    background: #f8d7da;
    color: #721c24;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-unknown {
    background: #e2e3e5;
    color: #383d41;
}

.claim-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.claim-amount {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.claim-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.claim-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.claim-date,
.claim-member {
    font-size: 11px;
}

.no-claims {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* Claim Details Modal */
.claim-details-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.claim-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-display {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.claim-id-display {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row .label {
    font-weight: 500;
    color: #666;
    font-size: 13px;
}

.detail-row .value {
    color: #333;
    font-size: 13px;
    text-align: right;
    max-width: 60%;
}

/* Documents List */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.document-item:hover {
    background: #e9ecef;
}

.document-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.document-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.document-size {
    font-size: 12px;
    color: #666;
}

.no-documents {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* Document Viewer Modal */
.document-viewer-modal {
    max-width: 600px;
    max-height: 80vh;
}

.document-viewer {
    padding: 20px;
}

.document-info-display h3 {
    margin-bottom: 16px;
    color: #333;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row .label {
    font-weight: 500;
    color: #666;
}

.info-row .value {
    color: #333;
}

.document-note {
    margin-top: 20px;
    padding: 16px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.document-note p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #856404;
}

.document-note p:last-child {
    margin-bottom: 0;
}

/* Document Actions */
.document-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.download-btn,
.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.download-btn:hover,
.view-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.view-btn {
    background: #28a745;
}

.view-btn:hover {
    background: #1e7e34;
}

.document-preview {
    margin: 20px 0;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    background: #f8f9fa;
}

.document-preview img {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Document Error Styles */
.document-item.error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
}

.document-item.error .material-icons {
    color: #dc3545;
}

.document-error {
    font-size: 11px;
    color: #dc3545;
    font-style: italic;
    margin-top: 4px;
}

.document-error-display {
    padding: 20px;
    background: #f8d7da;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.document-error-display h3 {
    color: #721c24;
    margin-bottom: 16px;
}

.error-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #721c24;
}

.error-note {
    margin-top: 16px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 4px;
    border-left: 3px solid #ffc107;
}

.error-note p {
    margin: 0;
    font-size: 13px;
    color: #856404;
}

/* Enhanced Profile Page Styles */
.profile-tabs {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.tab-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.tab-btn.active {
    background: #007bff;
    color: white;
}

.tab-btn .material-icons {
    font-size: 18px;
}

.tab-content {
    display: none;
}

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

.profile-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.profile-section h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-input[readonly] {
    background: #f8f9fa;
    color: #666;
}

.form-input.locked {
    background: #e9ecef;
    color: #495057;
    border-color: #ced4da;
    cursor: not-allowed;
    position: relative;
}

.form-input.locked::after {
    content: "🔒";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.form-help {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #545b62;
}

/* Wellness Offer Cards */
.wellness-offer-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.wellness-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.offer-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wellness-offer-card:hover .offer-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.offer-content {
    padding: 20px;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.offer-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.offer-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 12px;
}

.offer-description {
    margin-bottom: 16px;
}

.offer-description p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 14px;
}

.offer-pricing {
    margin-bottom: 16px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.discounted-price {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
}

.savings {
    color: #27ae60;
    font-size: 12px;
    font-weight: 600;
}

.offer-validity {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 12px;
    margin-bottom: 20px;
}

.offer-validity .material-icons {
    font-size: 16px;
}

.offer-actions {
    display: flex;
    gap: 12px;
}

.offer-actions .btn-primary,
.offer-actions .btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.offer-actions .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.offer-actions .btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-1px);
}

.offer-actions .btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.offer-actions .btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

.offer-actions .material-icons {
    font-size: 16px;
}

/* Responsive design for wellness offers */
@media (max-width: 768px) {
    .wellness-offer-card {
        margin-bottom: 16px;
    }
    
    .offer-content {
        padding: 16px;
    }
    
    .offer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .offer-category {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .offer-actions {
        flex-direction: column;
    }
    
    .offer-actions .btn-primary,
    .offer-actions .btn-secondary {
        width: 100%;
    }
}

/* IFSC Lookup Styles */
.ifsc-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lookup-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lookup-btn:hover {
    background: #1e7e34;
}

.ifsc-result {
    margin-top: 8px;
}

.success-message {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-size: 14px;
    font-weight: 500;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
}

.loading {
    color: #666;
    font-style: italic;
}

/* Address Management Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.addresses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.address-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.address-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

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

.address-header h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.address-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: #e9ecef;
}

.btn-icon.delete:hover {
    background: #f8d7da;
    color: #dc3545;
}

.address-details p {
    margin: 4px 0;
    color: #666;
    font-size: 14px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Modal Styles for Address */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: #e9ecef;
}

.close-btn .material-icons {
    font-size: 20px;
    color: #666;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive for Profile */
@media (max-width: 768px) {
    .profile-tabs {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-btn {
        justify-content: center;
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .address-actions {
        align-self: flex-end;
    }
    
    .modal-content {
        width: 95vw;
        max-height: 95vh;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: #e9ecef;
}

.close-btn .material-icons {
    font-size: 20px;
    color: #666;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Mobile Responsive for View Claims */
@media (max-width: 768px) {
    .claims-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .claim-card {
        padding: 12px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .claims-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .claims-filters select,
    .claims-filters input {
        width: 100%;
    }
    
    .claim-details-modal {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .detail-row .value {
        text-align: left;
        max-width: 100%;
    }
    
    .document-viewer-modal {
        max-width: 95vw;
        max-height: 95vh;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }

/* Document Viewing Styles */
.document-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.document-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.document-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.document-icon {
    font-size: 32px;
    margin-right: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.document-info h4 {
    margin: 0 0 4px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.document-meta {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.document-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.document-actions .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.document-actions .btn-primary {
    background: #007bff;
    color: white;
}

.document-actions .btn-primary:hover {
    background: #0056b3;
}

.document-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.document-actions .btn-secondary:hover {
    background: #545b62;
}

/* Claim Details Styles */
.claim-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.detail-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.detail-section h3 {
    margin: 0 0 16px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.detail-row .label {
    font-weight: 500;
    color: #666;
}

.detail-row .value {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.claim-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item .label {
    color: #666;
    font-size: 14px;
}

.meta-item .value {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

/* Loading and Error States */
.loading-message, .no-data {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #dc3545;
    font-size: 16px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin: 20px 0;
}

/* Claim Actions */
.claim-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.claim-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #007bff;
    color: white;
}

.claim-actions .btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}


/* Mobile Responsive for Document Viewing */
@media (max-width: 768px) {
    .claim-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .document-actions {
        flex-direction: column;
    }
    
    .document-actions .btn {
        width: 100%;
    }
    
    .claim-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* Document Classification Styles */
.uploaded-file {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.uploaded-file:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-info .material-icons {
    color: #666;
    font-size: 24px;
}

.file-name {
    font-weight: 500;
    color: #333;
    flex: 1;
}

.file-size {
    color: #666;
    font-size: 14px;
}

.file-classification {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.file-classification label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.file-classification select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #333;
}

.file-classification select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.file-classification input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.file-classification input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.remove-file:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Mobile responsive for document classification */
@media (max-width: 768px) {
    .uploaded-file {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .file-info {
        justify-content: space-between;
    }
    
    .file-classification {
        min-width: auto;
    }
}
 
 / *   T a b   N a v i g a t i o n   * / 
 . t a b - n a v i g a t i o n   { 
         d i s p l a y :   f l e x ; 
         b a c k g r o u n d :   w h i t e ; 
         b o r d e r - b o t t o m :   1 p x   s o l i d   # e 0 e 0 e 0 ; 
         m a r g i n - b o t t o m :   2 0 p x ; 
         b o r d e r - r a d i u s :   8 p x   8 p x   0   0 ; 
         o v e r f l o w :   h i d d e n ; 
 } 
 
 . t a b - b t n   { 
         f l e x :   1 ; 
         p a d d i n g :   1 6 p x   2 0 p x ; 
         b a c k g r o u n d :   # f 8 f 9 f a ; 
         b o r d e r :   n o n e ; 
         b o r d e r - r i g h t :   1 p x   s o l i d   # e 0 e 0 e 0 ; 
         c u r s o r :   p o i n t e r ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         g a p :   8 p x ; 
         f o n t - s i z e :   1 4 p x ; 
         f o n t - w e i g h t :   5 0 0 ; 
         c o l o r :   # 6 6 6 ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
 } 
 
 . t a b - b t n : l a s t - c h i l d   { 
         b o r d e r - r i g h t :   n o n e ; 
 } 
 
 . t a b - b t n : h o v e r   { 
         b a c k g r o u n d :   # e 9 e c e f ; 
         c o l o r :   # 3 3 3 ; 
 } 
 
 . t a b - b t n . a c t i v e   { 
         b a c k g r o u n d :   w h i t e ; 
         c o l o r :   # 0 0 7 b f f ; 
         b o r d e r - b o t t o m :   2 p x   s o l i d   # 0 0 7 b f f ; 
 } 
 
 . t a b - b t n   . m a t e r i a l - i c o n s   { 
         f o n t - s i z e :   1 8 p x ; 
 } 
 
 / *   T a b   C o n t e n t   * / 
 . t a b - c o n t e n t   { 
         b a c k g r o u n d :   w h i t e ; 
         b o r d e r - r a d i u s :   0   0   8 p x   8 p x ; 
         m i n - h e i g h t :   4 0 0 p x ; 
 } 
 
 . t a b - p a n e l   { 
         d i s p l a y :   n o n e ; 
         p a d d i n g :   2 0 p x ; 
 } 
 
 . t a b - p a n e l . a c t i v e   { 
         d i s p l a y :   b l o c k ; 
 } 
 
 / *   J o u r n e y   T i m e l i n e   * / 
 . j o u r n e y - t i m e l i n e   { 
         p o s i t i o n :   r e l a t i v e ; 
         p a d d i n g - l e f t :   3 0 p x ; 
 } 
 
 . j o u r n e y - s t e p   { 
         p o s i t i o n :   r e l a t i v e ; 
         m a r g i n - b o t t o m :   3 0 p x ; 
         p a d d i n g - b o t t o m :   2 0 p x ; 
 } 
 
 . j o u r n e y - s t e p : l a s t - c h i l d   { 
         m a r g i n - b o t t o m :   0 ; 
         p a d d i n g - b o t t o m :   0 ; 
 } 
 
 . j o u r n e y - s t e p : l a s t - c h i l d   . s t e p - l i n e   { 
         d i s p l a y :   n o n e ; 
 } 
 
 . s t e p - i n d i c a t o r   { 
         p o s i t i o n :   a b s o l u t e ; 
         l e f t :   - 3 0 p x ; 
         t o p :   0 ; 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
         a l i g n - i t e m s :   c e n t e r ; 
 } 
 
 . s t e p - d o t   { 
         w i d t h :   1 2 p x ; 
         h e i g h t :   1 2 p x ; 
         b o r d e r - r a d i u s :   5 0 % ; 
         b a c k g r o u n d :   # d d d ; 
         b o r d e r :   3 p x   s o l i d   w h i t e ; 
         b o x - s h a d o w :   0   0   0   2 p x   # d d d ; 
         z - i n d e x :   2 ; 
 } 
 
 . s t e p - d o t . s t a t u s - d r a f t   { 
         b a c k g r o u n d :   # 6 c 7 5 7 d ; 
         b o x - s h a d o w :   0   0   0   2 p x   # 6 c 7 5 7 d ; 
 } 
 
 . s t e p - d o t . s t a t u s - s u b m i t t e d   { 
         b a c k g r o u n d :   # 0 0 7 b f f ; 
         b o x - s h a d o w :   0   0   0   2 p x   # 0 0 7 b f f ; 
 } 
 
 . s t e p - d o t . s t a t u s - r e v i e w   { 
         b a c k g r o u n d :   # f f c 1 0 7 ; 
         b o x - s h a d o w :   0   0   0   2 p x   # f f c 1 0 7 ; 
 } 
 
 . s t e p - d o t . s t a t u s - a p p r o v e d   { 
         b a c k g r o u n d :   # 2 8 a 7 4 5 ; 
         b o x - s h a d o w :   0   0   0   2 p x   # 2 8 a 7 4 5 ; 
 } 
 
 . s t e p - d o t . s t a t u s - r e j e c t e d   { 
         b a c k g r o u n d :   # d c 3 5 4 5 ; 
         b o x - s h a d o w :   0   0   0   2 p x   # d c 3 5 4 5 ; 
 } 
 
 . s t e p - l i n e   { 
         w i d t h :   2 p x ; 
         h e i g h t :   4 0 p x ; 
         b a c k g r o u n d :   # e 0 e 0 e 0 ; 
         m a r g i n - t o p :   5 p x ; 
 } 
 
 . s t e p - c o n t e n t   { 
         b a c k g r o u n d :   # f 8 f 9 f a ; 
         b o r d e r - r a d i u s :   8 p x ; 
         p a d d i n g :   1 6 p x ; 
         b o r d e r - l e f t :   4 p x   s o l i d   # 0 0 7 b f f ; 
 } 
 
 . s t e p - h e a d e r   { 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
         a l i g n - i t e m s :   c e n t e r ; 
         m a r g i n - b o t t o m :   8 p x ; 
 } 
 
 . s t e p - t i t l e   { 
         m a r g i n :   0 ; 
         f o n t - s i z e :   1 6 p x ; 
         f o n t - w e i g h t :   6 0 0 ; 
         c o l o r :   # 3 3 3 ; 
 } 
 
 . s t e p - t i m e   { 
         f o n t - s i z e :   1 2 p x ; 
         c o l o r :   # 6 6 6 ; 
         b a c k g r o u n d :   w h i t e ; 
         p a d d i n g :   4 p x   8 p x ; 
         b o r d e r - r a d i u s :   4 p x ; 
 } 
 
 . s t e p - d e s c r i p t i o n   { 
         m a r g i n :   0   0   1 2 p x   0 ; 
         c o l o r :   # 5 5 5 ; 
         f o n t - s i z e :   1 4 p x ; 
         l i n e - h e i g h t :   1 . 4 ; 
 } 
 
 . s t e p - m e t a   { 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
         a l i g n - i t e m s :   c e n t e r ; 
         f o n t - s i z e :   1 2 p x ; 
 } 
 
 . s t e p - u s e r   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   4 p x ; 
         c o l o r :   # 6 6 6 ; 
 } 
 
 . s t e p - u s e r   . m a t e r i a l - i c o n s   { 
         f o n t - s i z e :   1 6 p x ; 
 } 
 
 . s t e p - s t a t u s   { 
         p a d d i n g :   2 p x   8 p x ; 
         b o r d e r - r a d i u s :   1 2 p x ; 
         f o n t - w e i g h t :   5 0 0 ; 
         t e x t - t r a n s f o r m :   u p p e r c a s e ; 
         f o n t - s i z e :   1 0 p x ; 
 } 
 
 . s t e p - s t a t u s . s t a t u s - d r a f t   { 
         b a c k g r o u n d :   # e 9 e c e f ; 
         c o l o r :   # 6 c 7 5 7 d ; 
 } 
 
 . s t e p - s t a t u s . s t a t u s - s u b m i t t e d   { 
         b a c k g r o u n d :   # c c e 7 f f ; 
         c o l o r :   # 0 0 7 b f f ; 
 } 
 
 . s t e p - s t a t u s . s t a t u s - r e v i e w   { 
         b a c k g r o u n d :   # f f f 3 c d ; 
         c o l o r :   # 8 5 6 4 0 4 ; 
 } 
 
 . s t e p - s t a t u s . s t a t u s - a p p r o v e d   { 
         b a c k g r o u n d :   # d 4 e d d a ; 
         c o l o r :   # 1 5 5 7 2 4 ; 
 } 
 
 . s t e p - s t a t u s . s t a t u s - r e j e c t e d   { 
         b a c k g r o u n d :   # f 8 d 7 d a ; 
         c o l o r :   # 7 2 1 c 2 4 ; 
 } 
 
 