/* Patient Page Styles - Large, Clear, Easy to Use */

.patient-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
    font-size: 1.2rem;
}

.patient-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.patient-greeting {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.patient-date {
    font-size: 1.5rem;
    opacity: 0.9;
    margin: 0;
}

.patient-section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 5px solid #667eea;
}

.patient-task-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.patient-task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.task-upcoming {
    border-color: #0d6efd;
}

.task-urgent {
    border-color: #ffc107;
    background: #fffbeb;
}

.task-completed {
    border-color: #198754;
    background: #f0f9f4;
    opacity: 0.8;
}

.task-time {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.task-time i {
    font-size: 3rem;
}

.task-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.task-description {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.task-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .task-actions {
        grid-template-columns: 1fr;
    }
}

.btn-patient {
    padding: 1.5rem 2rem !important;
    font-size: 1.8rem !important;
    font-weight: bold !important;
    border-radius: 15px !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-patient:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-patient:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-patient:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-patient i {
    font-size: 2rem;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #333 !important;
}

.task-status {
    padding: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 15px;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.task-status i {
    font-size: 2rem;
}

.completed-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
}

.completed-task {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    background: white;
    border-radius: 10px;
}

.completed-task i {
    font-size: 2rem;
}

.completed-task small {
    margin-left: auto;
    font-size: 1.2rem;
}

.patient-no-tasks {
    padding: 4rem 2rem;
}

.patient-no-tasks i {
    font-size: 8rem;
    display: block;
    margin-bottom: 2rem;
}

.patient-no-tasks h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.patient-no-tasks p {
    font-size: 2rem;
    color: #666;
}

/* Toast notifications */
.toast {
    font-size: 1.4rem;
    min-width: 350px;
}

.toast-header {
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
}

.toast-body {
    padding: 1.5rem;
    font-size: 1.4rem;
}

/* Loading spinner */
.spinner-border {
    color: #667eea !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .patient-greeting {
        font-size: 2.5rem;
    }
    
    .patient-date {
        font-size: 1.2rem;
    }
    
    .task-title {
        font-size: 2rem;
    }
    
    .task-description {
        font-size: 1.5rem;
    }
    
    .btn-patient {
        padding: 1.2rem 1.5rem !important;
        font-size: 1.5rem !important;
    }
    
    .patient-no-tasks h2 {
        font-size: 2.5rem;
    }
}

/* Medications Information Section */
.medications-info-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

.medications-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.medication-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #667eea;
}

.medication-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.medication-name {
    font-size: 1.8rem;
    color: #333;
    font-weight: bold;
}

.medication-body {
    padding-left: 2rem;
}

.medication-dosage {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.medication-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.schedule-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.schedule-badge.morning {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe8b3 100%);
    color: #ff9800;
}

.schedule-badge.noon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #2196f3;
}

.schedule-badge.evening {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    color: #5c6bc0;
}

.medication-notes {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.medication-notes i {
    margin-top: 0.2rem;
}

