/**
 * Professional Clinic Management System - Frontend Styles
 * Clean, modern styling for patient-facing pages
 */

/* Reset and Base Styles */
.hoh-frontend * {
    box-sizing: border-box;
}

.hoh-frontend {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Page Headers */
.hoh-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 12px;
}

.hoh-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.hoh-page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Forms */
.hoh-form-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.hoh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.hoh-form-group {
    margin-bottom: 20px;
}

.hoh-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.hoh-form-group input,
.hoh-form-group select,
.hoh-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hoh-form-group input:focus,
.hoh-form-group select:focus,
.hoh-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.hoh-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.hoh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.hoh-btn-primary {
    background: #3b82f6;
    color: white;
}

.hoh-btn-primary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.hoh-btn-secondary {
    background: #6b7280;
    color: white;
}

.hoh-btn-secondary:hover {
    background: #4b5563;
    color: white;
}

.hoh-btn-success {
    background: #10b981;
    color: white;
}

.hoh-btn-success:hover {
    background: #059669;
    color: white;
}

.hoh-btn-danger {
    background: #ef4444;
    color: white;
}

.hoh-btn-danger:hover {
    background: #dc2626;
    color: white;
}

/* Dashboard */
.hoh-dashboard {
    display: grid;
    gap: 30px;
}

.hoh-dashboard-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hoh-dashboard-section h3 {
    color: #1e293b;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.hoh-patient-info {
    display: grid;
    gap: 10px;
}

.hoh-patient-info p {
    margin: 0;
    padding: 8px 0;
}

/* Notifications */
.hoh-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.hoh-notification.show {
    transform: translateX(0);
}

.hoh-notification-success {
    background: #10b981;
}

.hoh-notification-error {
    background: #ef4444;
}

.hoh-notification-info {
    background: #3b82f6;
}

/* Loading */
.hoh-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.hoh-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Messages */
.hoh-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
}

.hoh-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Login Links */
.hoh-login-links {
    text-align: center;
    margin-top: 20px;
}

.hoh-login-links a {
    color: #3b82f6;
    text-decoration: none;
    margin: 0 10px;
}

.hoh-login-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hoh-frontend {
        padding: 10px;
    }
    
    .hoh-form-row {
        grid-template-columns: 1fr;
    }
    
    .hoh-page-header h1 {
        font-size: 2rem;
    }
    
    .hoh-form-container {
        padding: 20px;
    }
    
    .hoh-dashboard-section {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .hoh-btn,
    .hoh-notification {
        display: none !important;
    }
    
    .hoh-frontend {
        font-size: 12px;
    }
    
    .hoh-form-container,
    .hoh-dashboard-section {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Patient Dashboard Header */
.hoh-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 12px;
}

.hoh-dashboard-header h2 {
    margin: 0;
    color: white;
}

.hoh-dashboard-actions {
    display: flex;
    gap: 10px;
}

.hoh-btn-outline {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

.hoh-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* ========================================
   MODERN PATIENT DASHBOARD STYLES
   ======================================== */

/* Modern Header */
.hoh-modern-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.hoh-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hoh-welcome h1 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.hoh-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.hoh-header-actions {
    display: flex;
    gap: 12px;
}

.hoh-icon-btn {
    background: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hoh-icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hoh-icon-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Stats Grid */
.hoh-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.hoh-stat-card {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hoh-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hoh-stat-appointments {
    border-color: #3b82f6;
}

.hoh-stat-appointments .hoh-stat-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.hoh-stat-points {
    border-color: #f59e0b;
}

.hoh-stat-points .hoh-stat-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.hoh-stat-reports {
    border-color: #10b981;
}

.hoh-stat-reports .hoh-stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.hoh-stat-encounters {
    border-color: #ef4444;
}

.hoh-stat-encounters .hoh-stat-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.hoh-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hoh-stat-icon .dashicons {
    color: white;
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.hoh-stat-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1f2937;
}

.hoh-stat-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* Quick Actions Section */
.hoh-quick-actions-section {
    margin-bottom: 40px;
}

.hoh-quick-actions-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.hoh-action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.hoh-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hoh-action-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hoh-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.hoh-action-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.hoh-action-secondary:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

.hoh-action-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Dashboard Tabs */
.hoh-dashboard-tabs {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.hoh-tab-nav {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    background: #f9fafb;
    padding: 0 20px;
    overflow-x: auto;
}

.hoh-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hoh-tab-btn:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.hoh-tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: white;
}

.hoh-tab-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.hoh-tab-content {
    padding: 32px;
}

.hoh-tab-pane {
    display: none;
}

.hoh-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hoh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.hoh-section-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.hoh-btn-sm {
    padding: 10px 16px;
    font-size: 14px;
}

/* Loading State */
.hoh-loading {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
}

.hoh-loading:before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Appointments Grid */
.hoh-appointments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.hoh-appointment-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.hoh-appointment-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Points Overview */
.hoh-points-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.hoh-points-card {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.hoh-points-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
    opacity: 0.9;
}

.hoh-points-big {
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.hoh-points-value {
    font-size: 20px;
    opacity: 0.9;
    margin: 0;
}

.hoh-points-actions {
    background: white;
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hoh-btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.hoh-points-info {
    color: #6b7280;
    margin-top: 16px;
}

/* Modal */
.hoh-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.hoh-modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hoh-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.hoh-modal-close:hover {
    color: #1f2937;
}

.hoh-redeem-form {
    margin-top: 24px;
}

.hoh-points-summary {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.hoh-points-summary p {
    margin: 8px 0;
    font-size: 16px;
}

.hoh-btn-block {
    width: 100%;
}

/* ========================================
   MOBILE RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .hoh-frontend {
        padding: 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hoh-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hoh-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hoh-points-overview {
        grid-template-columns: 1fr;
    }
    
    .hoh-action-buttons {
        grid-template-columns: 1fr;
    }
    
    .hoh-appointments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Dashboard Tabs - Scrollable on Mobile */
    .hoh-tab-nav {
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        display: flex;
        flex-wrap: nowrap;
    }
    
    .hoh-tab-nav::-webkit-scrollbar {
        display: none;
    }
    
    .hoh-tab-btn {
        padding: 12px 16px;
        font-size: 13px;
        flex-shrink: 0;
        min-width: max-content;
        white-space: nowrap;
    }
    
    .hoh-tab-btn .dashicons {
        display: none; /* Hide icons on mobile to save space */
    }
    
    .hoh-tab-content {
        padding: 16px;
    }
    
    /* Modern Header Mobile */
    .hoh-modern-header {
        padding: 24px 16px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .hoh-welcome h1 {
        font-size: 22px;
    }
    
    .hoh-subtitle {
        font-size: 14px;
    }
    
    /* Stats Cards Mobile */
    .hoh-stat-card {
        padding: 20px;
        gap: 16px;
    }
    
    .hoh-stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .hoh-stat-icon .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    
    .hoh-stat-content h3 {
        font-size: 28px;
    }
    
    .hoh-stat-content p {
        font-size: 13px;
    }
    
    /* Appointment Cards - CRITICAL FIX for text wrapping */
    .hoh-appointment-card {
        padding: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }
    
    .hoh-appointment-card * {
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }
    
    /* Appointment Timeline Fix */
    .hoh-appointment-timeline {
        flex-direction: column;
        gap: 16px;
    }
    
    .hoh-appointment-timeline .hoh-timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 0;
        border-left: none;
        padding-bottom: 12px;
        border-bottom: 2px solid #e5e7eb;
    }
    
    .hoh-appointment-timeline .hoh-timeline-content {
        width: 100%;
        padding-left: 0;
    }
    
    /* Timeline Date Box */
    .hoh-timeline-date,
    .appointment-date-box {
        min-width: 80px;
        max-width: 100%;
        flex-shrink: 0;
    }
    
    /* Appointment Info Text Fix */
    .hoh-appointment-info,
    .appointment-details,
    .appointment-info {
        min-width: 0;
        flex: 1;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hoh-appointment-info h4,
    .hoh-appointment-info p,
    .appointment-title,
    .appointment-location,
    .appointment-time {
        word-break: normal;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }
    
    /* Points Section Mobile */
    .hoh-points-card {
        padding: 24px;
    }
    
    .hoh-points-big {
        font-size: 48px;
    }
    
    .hoh-points-actions {
        padding: 24px;
    }
    
    /* Section Headers Mobile */
    .hoh-section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .hoh-section-header .hoh-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Forms Mobile */
    .hoh-form-container {
        padding: 16px;
    }
    
    .hoh-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Buttons Mobile */
    .hoh-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hoh-btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    /* Quick Actions Mobile */
    .hoh-quick-actions-section h2 {
        font-size: 20px;
    }
    
    .hoh-action-btn {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    /* Modal Mobile */
    .hoh-modal-content {
        width: 95%;
        padding: 20px;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .hoh-frontend {
        padding: 8px;
    }
    
    .hoh-modern-header {
        padding: 20px 12px;
        margin-bottom: 16px;
    }
    
    .hoh-welcome h1 {
        font-size: 18px;
    }
    
    .hoh-tab-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .hoh-tab-content {
        padding: 12px;
    }
    
    .hoh-stat-card {
        padding: 16px;
    }
    
    .hoh-stat-content h3 {
        font-size: 24px;
    }
    
    .hoh-appointment-card {
        padding: 12px;
    }
    
    .hoh-points-big {
        font-size: 36px;
    }
    
    .hoh-icon-btn {
        width: 40px;
        height: 40px;
    }
    
    .hoh-icon-btn .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   REFERRAL CALENDAR STYLES
   ======================================== */

.referral-calendar-container {
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
}

.referral-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.referral-calendar-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.referral-calendar-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-calendar-nav:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.referral-calendar-nav .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #fff;
}

.referral-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e5e7eb;
}

.referral-calendar-day-header {
    background: #f3f4f6;
    padding: 10px 6px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.referral-calendar-day {
    background: white;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    position: relative;
}

.referral-calendar-day:hover:not(.disabled):not(.other-month) {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.referral-calendar-day.selected {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    font-weight: 700;
    border-radius: 0;
    box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.referral-calendar-day.disabled {
    background: #f9fafb;
    color: #d1d5db;
    cursor: not-allowed;
}

.referral-calendar-day.other-month {
    background: #fafafa;
    color: #d1d5db;
    cursor: default;
}

/* Referral Calendar Mobile Responsive */
@media (max-width: 768px) {
    .referral-calendar-header {
        padding: 12px 16px;
    }

    .referral-calendar-header h4 {
        font-size: 15px;
    }

    .referral-calendar-day {
        padding: 8px 4px;
        min-height: 36px;
        font-size: 13px;
    }

    .referral-calendar-day-header {
        padding: 8px 4px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .referral-calendar-day {
        padding: 6px 2px;
        min-height: 32px;
        font-size: 12px;
    }

    .referral-calendar-nav {
        padding: 4px 8px;
    }
}