/* Tea App UX Consistency - Matching the enhanced button sizes */

/* ============================================
   TYPOGRAPHY SCALING
   ============================================ */

/* Headers and Titles */
.app-banner-title,
.tea-app h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
}

.app-banner-subtitle {
    font-size: 1.2rem !important;
    opacity: 0.95 !important;
    font-weight: 500 !important;
}

.wizard-step h2,
.tea-app h2 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: var(--tea-primary) !important;
}

.wizard-step h3,
.tea-app h3,
.section-title {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
}

/* Body Text */
.wizard-step p,
.tea-app p,
.form-help-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}

/* ============================================
   SPACING & PADDING
   ============================================ */

/* App Container */
.tea-app-container {
    padding: 24px !important;
}

/* App Banner */
.app-banner {
    padding: 32px 24px !important;
    margin-bottom: 28px !important;
    border-radius: 16px !important;
}

/* Wizard Steps */
.wizard-step,
.wizard-page {
    padding: 28px 20px !important;
}

/* Form Groups */
.form-group,
.input-group {
    margin-bottom: 28px !important;
}

/* Cards and Entries */
.tea-entry,
.tea-card,
.vendor-card,
.collection-card {
    padding: 24px !important;
    border-radius: 14px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 12px rgb(0 0 0 / 8%) !important;
    transition: all 0.2s ease !important;
}

.tea-entry:active,
.tea-card:active {
    transform: scale(0.98) !important;
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%) !important;
}

/* Summary Cards */
.today-summary,
.stats-summary {
    padding: 24px !important;
    border-radius: 14px !important;
    margin-bottom: 24px !important;
}

/* ============================================
   ICONS & VISUAL ELEMENTS
   ============================================ */

/* Tab Icons */
.tab-icon,
.nav-icon {
    font-size: 24px !important;
    margin-bottom: 6px !important;
}

/* Progress Icons */
.step-icon {
    font-size: 28px !important;
}

/* Tea Type Icons */
.tea-icon,
.brew-icon {
    font-size: 32px !important;
    display: block !important;
    margin-bottom: 8px !important;
}

/* Status Icons */
.status-icon,
.success-icon,
.error-icon {
    font-size: 48px !important;
    margin-bottom: 16px !important;
}

/* ============================================
   MODALS & OVERLAYS
   ============================================ */

/* Modal Content */
.modal-content,
.tea-modal-content {
    padding: 32px !important;
    border-radius: 16px !important;
    max-width: 90% !important;
    width: 500px !important;
}

.modal-header {
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
    border-bottom: 2px solid #f0f0f0 !important;
}

.modal-header h2,
.modal-header h3 {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.modal-body {
    margin-bottom: 28px !important;
}

.modal-footer {
    padding-top: 20px !important;
    border-top: 2px solid #f0f0f0 !important;
    display: flex !important;
    gap: 16px !important;
    justify-content: flex-end !important;
}

/* Close Button */
.close-modal,
.modal-close {
    min-width: 48px !important;
    min-height: 48px !important;
    font-size: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ============================================
   TIMER & BREWING ELEMENTS
   ============================================ */

/* Timer Display */
.timer-display {
    width: 280px !important;
    height: 280px !important;
    margin: 36px auto !important;
    box-shadow: 0 12px 36px rgb(0 0 0 / 12%) !important;
}

.timer-text {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
}

/* Brewing Steps */
.brewing-steps {
    padding: 24px !important;
    border-radius: 14px !important;
    margin: 24px 0 !important;
}

.brewing-steps h3 {
    font-size: 1.3rem !important;
    margin-bottom: 16px !important;
}

.step {
    padding: 12px 0 !important;
    font-size: 16px !important;
}

.step.active {
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* ============================================
   STATS & INFO DISPLAYS
   ============================================ */

/* Stats Cards */
.stat-card,
.tea-stat {
    padding: 24px !important;
    border-radius: 14px !important;
    text-align: center !important;
}

.stat-value {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.stat-label {
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Temperature Display */
.temp-display {
    padding: 20px !important;
    font-size: 18px !important;
    border-radius: 14px !important;
    margin: 24px 0 !important;
    background: var(--tea-warm) !important;
}

/* ============================================
   LISTS & GRIDS
   ============================================ */

/* Entry Lists */
.tea-entries,
.vendor-list,
.collection-list {
    gap: 20px !important;
}

/* Grid Layouts */
.tea-type-grid {
    gap: 16px !important;
}

/* List Items */
.entry-title,
.tea-title,
.vendor-name {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

.entry-date,
.tea-info,
.vendor-location {
    font-size: 14px !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
}

.entry-detail,
.tea-detail {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.detail-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    opacity: 0.8 !important;
}

.detail-value {
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* ============================================
   PROGRESS INDICATORS
   ============================================ */

.progress-bar {
    height: 8px !important;
    border-radius: 4px !important;
    margin: 20px 0 !important;
}

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

.step-indicator {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast,
.toast-notification {
    padding: 20px 24px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.toast-icon {
    font-size: 24px !important;
}

/* ============================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    
    /* Adjust typography for mobile */
    .app-banner-title {
        font-size: 2rem !important;
    }
    
    .app-banner-subtitle {
        font-size: 1.1rem !important;
    }
    
    .wizard-step h2 {
        font-size: 1.5rem !important;
    }
    
    /* Adjust spacing for mobile */
    .tea-app-container {
        padding: 16px !important;
    }
    
    .app-banner {
        padding: 24px 16px !important;
    }
    
    .wizard-step {
        padding: 20px 16px !important;
    }
    
    /* Adjust timer for mobile */
    .timer-display {
        width: 240px !important;
        height: 240px !important;
    }
    
    .timer-text {
        font-size: 2.8rem !important;
    }
    
    /* Adjust cards for mobile */
    .tea-entry,
    .tea-card {
        padding: 20px !important;
    }
    
    /* Stack stats on mobile */
    .tea-stats {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    
    /* Further adjustments for small screens */
    .app-banner-title {
        font-size: 1.8rem !important;
    }
    
    .timer-display {
        width: 220px !important;
        height: 220px !important;
    }
    
    .timer-text {
        font-size: 2.5rem !important;
    }
    
    /* Full width elements on small screens */
    .modal-content {
        width: 95% !important;
        padding: 24px 16px !important;
    }
}

/* ============================================
   DESKTOP ENHANCEMENTS
   ============================================ */

@media (min-width: 1024px) {
    
    /* Larger elements on desktop */
    .app-banner {
        padding: 40px 32px !important;
    }
    
    .app-banner-title {
        font-size: 3rem !important;
    }
    
    .app-banner-subtitle {
        font-size: 1.3rem !important;
    }
    
    .timer-display {
        width: 320px !important;
        height: 320px !important;
    }
    
    .timer-text {
        font-size: 4rem !important;
    }
    
    /* Better spacing on desktop */
    .wizard-step {
        padding: 36px 32px !important;
    }
    
    .tea-entry,
    .tea-card {
        padding: 28px !important;
    }
    
    /* Grid layouts on desktop */
    .tea-stats {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 24px !important;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

/* Smooth transitions for all interactive elements */
button,
.btn,
.card,
.tea-entry,
.tea-card,
input,
select,
textarea {
    transition: all 0.2s ease !important;
}

/* Hover effects (desktop only) */
@media (hover: hover) {
    .tea-entry:hover,
    .tea-card:hover,
    .vendor-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgb(0 0 0 / 12%) !important;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus states */
*:focus-visible {
    outline: 3px solid var(--tea-primary) !important;
    outline-offset: 2px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .tea-entry,
    .tea-card {
        border: 2px solid var(--tea-primary) !important;
    }
    
    button,
    .btn {
        border: 2px solid currentcolor !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}