/* Calendar, Comparison & Verification Styles */

/* ==========================================
   SHARED STYLES
   ========================================== */
.bg-dark-blue {
    background: linear-gradient(135deg, #0D2237 0%, #1a3a5c 100%);
}

/* ==========================================
   EVENT CALENDAR
   ========================================== */

/* Legend */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.legend-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.botox { background: #4CAF50; }
.dot.fillers { background: #2196F3; }
.dot.advanced { background: #9C27B0; }
.dot.medical { background: #FF9800; }

/* Calendar Container */
.calendar-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.calendar-day-name {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #0D2237;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 100px;
    padding: 0.5rem;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #aaa;
}

.calendar-day.today {
    background: rgba(13, 34, 55, 0.05);
}

.calendar-day.today .day-number {
    background: #0D2237;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-number {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    display: inline-flex;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calendar-event {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.2s;
}

.calendar-event:hover {
    transform: scale(1.02);
}

.calendar-event.botox { background: #4CAF50; }
.calendar-event.fillers { background: #2196F3; }
.calendar-event.advanced { background: #9C27B0; }
.calendar-event.medical { background: #FF9800; }

/* Calendar Navigation */
.calendar-nav {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.calendar-month-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0D2237;
}

/* Event Cards */
.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.event-date {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    color: #fff;
}

.event-card.botox .event-date { background: #4CAF50; }
.event-card.fillers .event-date { background: #2196F3; }
.event-card.advanced .event-date { background: #9C27B0; }
.event-card.medical .event-date { background: #FF9800; }

.event-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.event-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.event-details {
    padding: 1rem;
    flex: 1;
}

.event-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0D2237;
    margin-bottom: 0.5rem;
}

.event-meta {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.event-meta i {
    margin-right: 0.25rem;
}

.event-price {
    font-weight: 700;
    color: #0D2237;
    margin-bottom: 0.5rem;
}

/* Event Modal */
.event-modal-content {
    padding: 1rem 0;
}

.event-modal-content p {
    margin-bottom: 0.75rem;
}

/* ==========================================
   COURSE COMPARISON
   ========================================== */

.selector-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
    background: #0D2237;
    color: #fff;
    padding: 1.25rem;
    font-weight: 600;
    text-align: center;
    border: none;
}

.comparison-table th.feature-col {
    background: #1a3a5c;
    text-align: left;
    width: 180px;
}

.comparison-table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-color: #eee;
}

.comparison-table td.feature-col {
    background: #f8f9fa;
}

.comparison-table tbody tr:hover {
    background: rgba(13, 34, 55, 0.02);
}

.comparison-table .action-row td {
    background: #f8f9fa;
    text-align: center;
    padding: 1.5rem;
}

.comparison-table ul {
    text-align: left;
}

.comparison-table ul li {
    padding: 0.25rem 0;
}

/* Quick Compare Cards */
.quick-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-card:hover {
    border-color: #0D2237;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.quick-card h5 {
    color: #0D2237;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-link {
    color: #0D2237;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ==========================================
   CERTIFICATE VERIFICATION
   ========================================== */

.verify-icon i {
    color: rgba(255, 255, 255, 0.9);
}

.verify-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.verify-result {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.verify-loading {
    padding: 2rem;
}

.verify-success,
.verify-error {
    padding: 2rem;
}

.verify-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.verify-header i {
    font-size: 2.5rem;
}

.verify-header h4 {
    margin-bottom: 0;
}

.verify-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

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

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

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

.detail-value {
    font-weight: 600;
    color: #0D2237;
}

.verify-error {
    background: rgba(220, 53, 69, 0.05);
}

.verify-error p {
    color: #666;
}

/* How It Works */
.how-card {
    padding: 2rem 1rem;
}

.how-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0D2237 0%, #1a3a5c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.how-icon i {
    font-size: 2rem;
    color: #fff;
}

/* Certificate Features */
.cert-feature {
    font-size: 1.1rem;
}

.cert-sample {
    border: 2px dashed #ddd;
}

.cert-header img {
    opacity: 0.7;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .calendar-day {
        min-height: 60px;
        padding: 0.25rem;
    }

    .calendar-day-name {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .day-number {
        font-size: 0.75rem;
    }

    .calendar-event {
        font-size: 0.6rem;
        padding: 1px 4px;
    }

    .calendar-legend {
        justify-content: center;
        margin-top: 1rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .verify-header {
        flex-direction: column;
        text-align: center;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Print styles */
@media print {
    .calendar-nav,
    .view-toggle,
    .navbar,
    .chatbot-container,
    footer {
        display: none !important;
    }
}
