/* StateRequirement Portal Frontend Styles - FIXED VERSION */

/* Reset and Base Styles */
.sr-form *, .sr-dashboard-container *, .sr-admin-dashboard * {
    box-sizing: border-box;
}

/* Color Scheme */
:root {
    --sr-primary: #3b82f6;
    --sr-primary-dark: #2563eb;
    --sr-secondary: #64748b;
    --sr-success: #22c55e;
    --sr-warning: #f59e0b;
    --sr-error: #ef4444;
    --sr-info: #06b6d4;
    --sr-gray-50: #f8fafc;
    --sr-gray-100: #f1f5f9;
    --sr-gray-200: #e2e8f0;
    --sr-gray-300: #cbd5e1;
    --sr-gray-400: #94a3b8;
    --sr-gray-500: #64748b;
    --sr-gray-600: #475569;
    --sr-gray-700: #334155;
    --sr-gray-800: #1e293b;
    --sr-gray-900: #0f172a;
}

.comments-area a, .page-content a {
    text-decoration: none;
}

a:active, a:hover {
    color: whitesmoke;
}



/* FIXED: Message Container Styles */
.sr-message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    pointer-events: none;
}

.sr-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left: 4px solid;
    position: relative;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    font-size: 0.875rem;
    line-height: 1.5;
}

.sr-message.sr-error {
    background: #fef2f2;
    border-left-color: var(--sr-error);
    color: #991b1b;
}

.sr-message.sr-success {
    background: #f0fdf4;
    border-left-color: var(--sr-success);
    color: #065f46;
}

.sr-message.sr-info {
    background: #eff6ff;
    border-left-color: var(--sr-info);
    color: #0c4a6e;
}

.sr-message.sr-warning {
    background: #fef3c7;
    border-left-color: var(--sr-warning);
    color: #92400e;
}

.sr-message.sr-message-persistent {
    border-left-width: 6px;
    font-weight: 500;
}

/* Fallback for inline messages */
.sr-form .sr-message,
.sr-dashboard-container .sr-message {
    position: relative;
    top: auto;
    right: auto;
    max-width: none;
    margin: 1rem 0;
    animation: none;
}

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

/* Form Styles */
.sr-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sr-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--sr-primary), var(--sr-primary-dark));
    color: white;
    border-radius: 12px;
}

.sr-form-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.sr-form-header p {
    margin: 0;
    opacity: 0.9;
}

.sr-form-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid var(--sr-gray-200);
}

.sr-form-section h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sr-gray-800);
    border-bottom: 2px solid var(--sr-primary);
    padding-bottom: 0.5rem;
}

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

.sr-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--sr-gray-700);
}

.sr-form-input, .sr-form select, .sr-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--sr-gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sr-form-input:focus, .sr-form select:focus, .sr-form textarea:focus {
    outline: none;
    border-color: var(--sr-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* FIXED: Form validation styles */
.sr-form-input.sr-invalid, .sr-form select.sr-invalid, .sr-form textarea.sr-invalid {
    border-color: var(--sr-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.sr-form-input.sr-valid, .sr-form select.sr-valid, .sr-form textarea.sr-valid {
    border-color: var(--sr-success);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

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

.sr-form-note {
    font-size: 0.875rem;
    color: var(--sr-gray-500);
    margin-top: 0.25rem;
}

.sr-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sr-checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
    min-width: 16px;
    flex-shrink: 0;
}

.sr-checkbox-group label {
    line-height: 1.5;
    font-size: 0.875rem;
}

/* Button Styles */
.sr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.5;
    min-height: 44px;
    gap: 0.5rem;
}

.sr-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.sr-btn-primary {
    background: var(--sr-primary);
    color: white;
}

.sr-btn-primary:hover:not(:disabled) {
    background: var(--sr-primary-dark);
    transform: translateY(-1px);
}

.sr-btn-secondary {
    background: var(--sr-gray-200);
    color: var(--sr-gray-700);
}

.sr-btn-secondary:hover:not(:disabled) {
    background: var(--sr-gray-300);
}

.sr-btn-success {
    background: var(--sr-success);
    color: white;
}

.sr-btn-warning {
    background: var(--sr-warning);
    color: white;
}

.sr-btn-danger {
    background: var(--sr-error);
    color: white;
}

.sr-btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 36px;
}

.sr-form-actions {
    text-align: center;
    margin-top: 2rem;
}

.sr-form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sr-gray-200);
}

/* Insurance Selection */
.sr-insurance-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.sr-insurance-option {
    background: white;
    border: 2px solid var(--sr-gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.sr-insurance-option:hover {
    border-color: var(--sr-primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.sr-insurance-option.selected {
    border-color: var(--sr-primary);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.sr-option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sr-insurance-option h3 {
    margin: 0 0 1rem 0;
    color: var(--sr-gray-800);
}

.sr-insurance-option p {
    color: var(--sr-gray-600);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Education Choice */
.sr-education-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.sr-education-option {
    background: white;
    border: 2px solid var(--sr-gray-200);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.sr-education-option.sr-recommended {
    border-color: var(--sr-success);
    background: rgba(34, 197, 94, 0.02);
}

.sr-option-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--sr-success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sr-education-option h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sr-education-option ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.sr-education-option li {
    margin-bottom: 0.5rem;
    color: var(--sr-gray-600);
}

.sr-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sr-primary);
    margin: 1rem 0;
}

.sr-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--sr-warning);
    color: #92400e;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.sr-info-box {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--sr-info);
    color: #0c4a6e;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Dashboard Styles */
.sr-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sr-dashboard-header {
    background: linear-gradient(135deg, var(--sr-primary), var(--sr-primary-dark));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.sr-welcome-section h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.sr-welcome-section p {
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.sr-progress-indicator {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.sr-progress-text {
    font-size: 1.125rem;
    font-weight: 600;
}

.sr-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.sr-progress-fill {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* FIXED: Journey Tracker Styles - Replace lines 310-410 in frontend.css */
.sr-journey-tracker {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sr-journey-tracker h3 {
    margin: 0 0 2rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sr-gray-800);
    text-align: center;
}

.sr-steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 2rem 1rem;
    margin: 0;
}

/* Connection line background */
.sr-steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--sr-gray-200);
    z-index: 1;
}

.sr-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
    max-width: 120px;
}

.sr-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    border: 3px solid;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sr-step-circle.completed {
    background: var(--sr-success);
    color: white;
    border-color: var(--sr-success);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.sr-step-circle.current {
    background: var(--sr-primary);
    color: white;
    border-color: var(--sr-primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    animation: pulse 2s infinite;
}

.sr-step-circle.pending {
    background: white;
    color: var(--sr-gray-400);
    border-color: var(--sr-gray-300);
}

.sr-step-label {
    font-size: 0.875rem;
    text-align: center;
    font-weight: 600;
    color: var(--sr-gray-700);
    line-height: 1.3;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-step.completed .sr-step-label {
    color: var(--sr-success);
}

.sr-step.current .sr-step-label {
    color: var(--sr-primary);
    font-weight: 700;
}

/* Dynamic progress line */
.sr-progress-line {
    position: absolute;
    top: 50px;
    left: 10%;
    height: 4px;
    background: var(--sr-success);
    z-index: 1;
    transition: width 0.5s ease;
}

/* Pulse animation for current step */
@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5); }
    100% { box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sr-steps-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        padding: 1rem;
    }
    
    .sr-steps-container::before {
        display: none;
    }
    
    .sr-step {
        max-width: none;
        width: 100%;
        max-width: 200px;
    }
    
    .sr-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 40px;
        background: var(--sr-gray-200);
        z-index: 1;
    }
    
    .sr-step.completed:not(:last-child)::after {
        background: var(--sr-success);
    }
}

/* Dashboard Grid */
.sr-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.sr-dashboard-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sr-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sr-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    color: white;
}

.sr-section-icon.warning {
    background: var(--sr-warning);
}

.sr-section-icon.info {
    background: var(--sr-info);
}

.sr-section-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--sr-gray-800);
}

/* Action Items */
.sr-action-item {
    background: #fef3c7;
    border: 1px solid var(--sr-warning);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.sr-action-item.urgent {
    background: #fef2f2;
    border-color: var(--sr-error);
}

.sr-action-item.success {
    background: #f0fdf4;
    border-color: var(--sr-success);
}

.sr-action-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--sr-gray-800);
}

.sr-action-item-desc {
    color: var(--sr-gray-600);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Quick Actions */
.sr-quick-action {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--sr-gray-200);
}

.sr-quick-action:hover {
    background: var(--sr-gray-50);
    border-color: var(--sr-primary);
    transform: translateX(4px);
}

.sr-quick-action-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Updates Section */
.sr-update-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.sr-update-item.success {
    background: #f0fdf4;
    border-left: 4px solid var(--sr-success);
}

.sr-update-item.info {
    background: #eff6ff;
    border-left: 4px solid var(--sr-info);
}

.sr-update-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    font-size: 1rem;
}

.sr-update-content {
    flex: 1;
}

.sr-update-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--sr-gray-800);
}

.sr-update-desc {
    color: var(--sr-gray-600);
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.sr-update-time {
    color: var(--sr-gray-400);
    font-size: 0.75rem;
}

.sr-update-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--sr-primary);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Document Upload Styles */
.sr-upload-area {
    margin-bottom: 1.5rem;
}

.sr-upload-dropzone {
    border: 2px dashed var(--sr-gray-300);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: var(--sr-gray-50);
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.sr-upload-dropzone:hover {
    border-color: var(--sr-primary);
    background: rgba(59, 130, 246, 0.05);
}

.sr-upload-dropzone.dragover {
    border-color: var(--sr-primary);
    background: rgba(59, 130, 246, 0.1);
}

.sr-upload-icon {
    font-size: 3rem;
    color: var(--sr-gray-400);
    margin-bottom: 1rem;
}

.sr-upload-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--sr-gray-700);
}

.sr-upload-subtitle {
    color: var(--sr-gray-500);
    margin-bottom: 0.5rem;
}

.sr-upload-note {
    color: var(--sr-gray-400);
    font-size: 0.875rem;
}

.sr-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Upload Success State */
.sr-upload-success {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f0fdf4;
    border: 1px solid var(--sr-success);
    border-radius: 8px;
}

.sr-success-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.sr-success-content {
    flex: 1;
}

.sr-success-title {
    font-weight: 600;
    color: var(--sr-gray-800);
    margin-bottom: 0.25rem;
}

.sr-success-meta {
    color: var(--sr-gray-600);
    font-size: 0.875rem;
}

/* Upload Progress */
.sr-upload-progress {
    margin-top: 1rem;
    display: none;
}

.sr-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--sr-gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.sr-progress-fill {
    height: 100%;
    background: var(--sr-primary);
    transition: width 0.3s ease;
}

.sr-progress-text {
    text-align: center;
    color: white;
    font-size: 0.875rem;
}

/* Loading Spinner */
.sr-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading States */
.sr-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sr-message-container {
        position: relative;
        top: auto;
        right: auto;
        max-width: none;
        margin-bottom: 1rem;
    }
    
    .sr-message {
        animation: none;
        margin-bottom: 0.5rem;
    }
    
    .sr-form-row {
        grid-template-columns: 1fr;
    }
    
    .sr-insurance-options,
    .sr-education-options {
        grid-template-columns: 1fr;
    }
    
    .sr-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .sr-steps-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sr-step-connector {
        display: none;
    }
    
    .sr-form-header h2 {
        font-size: 1.5rem;
    }
    
    .sr-dashboard-header {
        padding: 1.5rem;
    }
    
    .sr-welcome-section h2 {
        font-size: 1.5rem;
    }
    
    .sr-progress-indicator {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
}

/* Utility Classes */
.sr-hidden {
    display: none !important;
}

.sr-text-center {
    text-align: center;
}

.sr-text-left {
    text-align: left;
}

.sr-text-right {
    text-align: right;
}

.sr-mb-1 { margin-bottom: 0.25rem; }
.sr-mb-2 { margin-bottom: 0.5rem; }
.sr-mb-3 { margin-bottom: 0.75rem; }
.sr-mb-4 { margin-bottom: 1rem; }
.sr-mb-5 { margin-bottom: 1.25rem; }

.sr-mt-1 { margin-top: 0.25rem; }
.sr-mt-2 { margin-top: 0.5rem; }
.sr-mt-3 { margin-top: 0.75rem; }
.sr-mt-4 { margin-top: 1rem; }
.sr-mt-5 { margin-top: 1.25rem; }




/* Application Review Styles */
.sr-review-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sr-review-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid var(--sr-gray-200);
}

.sr-review-section h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sr-gray-800);
}

.sr-documents-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sr-doc-checklist-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--sr-gray-200);
}

.sr-doc-checklist-item.approved {
    background: #f0fdf4;
    border-color: var(--sr-success);
}

.sr-doc-checklist-item.pending {
    background: #fef3c7;
    border-color: var(--sr-warning);
}

.sr-doc-checklist-item.missing {
    background: #fef2f2;
    border-color: var(--sr-error);
}

.sr-doc-status-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.sr-doc-name {
    flex: 1;
    font-weight: 600;
    color: var(--sr-gray-800);
}

.sr-doc-status-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
}

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

.sr-summary-item {
    padding: 1rem;
    background: var(--sr-gray-50);
    border-radius: 8px;
    border: 1px solid var(--sr-gray-200);
}

.sr-consent-box {
    background: var(--sr-gray-50);
    border: 2px solid var(--sr-primary);
    border-radius: 8px;
    padding: 1.5rem;
}

/* Messages and Profile Styles */
.sr-contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.sr-contact-method {
    padding: 1rem;
    background: var(--sr-gray-50);
    border-radius: 8px;
    border: 1px solid var(--sr-gray-200);
}

.sr-radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sr-radio-option {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border: 2px solid var(--sr-gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.sr-radio-option:hover {
    border-color: var(--sr-primary);
    background: rgba(59, 130, 246, 0.05);
}

.sr-radio-option input[type="radio"] {
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.sr-radio-content {
    flex: 1;
}

.sr-radio-title {
    font-weight: 600;
    color: var(--sr-gray-800);
    margin-bottom: 0.25rem;
}

.sr-radio-desc {
    color: var(--sr-gray-600);
    font-size: 0.875rem;
}

/* Preference rows for scheduling */
.sr-preference-row {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--sr-gray-200);
    border-radius: 8px;
    background: var(--sr-gray-50);
}

.sr-preference-row h4 {
    margin: 0 0 1rem 0;
    color: var(--sr-gray-800);
    font-size: 1rem;
    font-weight: 600;
}


/* Notifications Page Styles */
.sr-notifications-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sr-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--sr-gray-200);
}

.sr-page-header h2 {
    margin: 0;
    color: var(--sr-gray-800);
    font-size: 2rem;
    font-weight: 700;
}

.sr-notification-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--sr-gray-200);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s;
    position: relative;
}

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

.sr-notification-card.unread {
    border-left: 4px solid var(--sr-primary);
    background: rgba(59, 130, 246, 0.02);
}

.sr-notification-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    position: relative;
}

.sr-notification-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.sr-notification-meta {
    flex: 1;
}

.sr-notification-title {
    font-weight: 600;
    color: var(--sr-gray-800);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.sr-notification-time {
    color: var(--sr-gray-500);
    font-size: 0.875rem;
}

.sr-unread-indicator {
    width: 12px;
    height: 12px;
    background: var(--sr-primary);
    border-radius: 50%;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.sr-notification-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.sr-notification-body p {
    margin: 0 0 1rem 0;
    color: var(--sr-gray-700);
    line-height: 1.6;
}

.sr-notification-action {
    margin-top: 1rem;
}

.sr-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--sr-gray-500);
}

.sr-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.sr-empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: var(--sr-gray-600);
    font-size: 1.25rem;
}

.sr-empty-state p {
    margin: 0;
    color: var(--sr-gray-500);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sr-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .sr-notification-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .sr-notification-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .sr-unread-indicator {
        top: 0.5rem;
        right: 0.5rem;
    }
}