/**
 * Clandestino - Fullscreen Mode Styles
 * For Make Cocktail step-by-step interface
 */

/* Fullscreen Container */
.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    color: #FFFFFF;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    font-family: var(--font-family, "Helvetica Now Display Bold", Helvetica, Arial, sans-serif);
    overflow: hidden;
}

/* Header */
.fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

.fullscreen-header .cocktail-title {
    font-size: 3rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.fullscreen-header .close-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid #FF0000;
    border-radius: 50%;
    color: #FF0000;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.fullscreen-header .close-btn:hover {
    background: #FF0000;
    color: #000000;
}

/* Progress Bar */
.fullscreen-progress {
    width: 100%;
    height: 4px;
    background: #333;
    flex-shrink: 0;
}

.fullscreen-progress .progress-fill {
    height: 100%;
    background: #FF0000;
    transition: width 0.5s ease;
}

/* Main Content */
.fullscreen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    text-align: center;
    overflow-y: auto;
}

/* Step Screens */
.step-screen {
    display: none;
    width: 100%;
    max-width: 900px;
    animation: fadeIn 0.5s ease;
}

.step-screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intro Screen */
.intro-screen .cocktail-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
}

.intro-screen .cocktail-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro-screen .cocktail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #CCCCCC;
}

.intro-screen .cocktail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intro-screen .cocktail-description {
    font-size: 1.3rem;
    color: #CCCCCC;
    max-width: 600px;
    line-height: 1.6;
}

/* Ingredients Screen */
.ingredients-screen .screen-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #FF0000;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

.ingredient-card-fs {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.ingredient-card-fs:hover {
    border-color: #FF0000;
    background: #1a0000;
}

.ingredient-card-fs.available {
    border-left: 3px solid #00FF00;
}

.ingredient-card-fs.not-available {
    opacity: 0.5;
    background: rgba(255, 0, 0, 0.1);
    border-left: 3px solid #FF0000;
}

.ingredient-card-fs.insufficient {
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #FFC107;
}

.ingredient-card-fs .ingredient-name {
    font-size: 1.4rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ingredient-card-fs .ingredient-quantity {
    font-size: 1.2rem;
    color: #FF0000;
    font-weight: 700;
}

.ingredient-card-fs small {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.ingredient-card-fs .text-danger {
    color: #FF0000;
}

.ingredient-card-fs .text-warning {
    color: #FFC107;
}

/* Step Screen */
.preparation-screen .step-indicator {
    font-size: 1rem;
    color: #FF0000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.preparation-screen .step-number-large {
    font-size: 8rem;
    font-weight: 700;
    color: #FF0000;
    line-height: 1;
    margin-bottom: 1rem;
}

.preparation-screen .step-description {
    font-size: 2rem;
    line-height: 1.6;
    max-width: 700px;
    color: #FFFFFF;
}

/* Final Screen */
.final-screen .success-icon {
    font-size: 8rem;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.final-screen .success-title {
    font-size: 3rem;
    color: #00FF00;
    margin-bottom: 1rem;
}

.final-screen .success-subtitle {
    font-size: 1.5rem;
    color: #CCCCCC;
    margin-bottom: 2rem;
}

.final-screen .mark-done-btn {
    background: #00FF00;
    color: #000000;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.final-screen .mark-done-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
}

.final-screen .close-final-btn {
    background: transparent;
    color: #FF0000;
    border: 2px solid #FF0000;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.final-screen .close-final-btn:hover {
    background: #FF0000;
    color: #000000;
}

/* Navigation */
.fullscreen-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid #333;
    flex-shrink: 0;
}

.nav-btn {
    background: transparent;
    border: 2px solid #FF0000;
    color: #FF0000;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.nav-btn:hover:not(:disabled) {
    background: #FF0000;
    color: #000000;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn.primary {
    background: #FF0000;
    color: #000000;
}

.nav-btn.primary:hover:not(:disabled) {
    background: #CC0000;
    border-color: #CC0000;
}

.step-dots {
    display: flex;
    gap: 0.5rem;
	margin-top: 40px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.step-dot.active {
    background: #FF0000;
    transform: scale(1.2);
}

.step-dot.completed {
    background: #00FF00;
}

/* Keyboard Hints */
.keyboard-hints {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
    color: #666;
}

.keyboard-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.keyboard-hint kbd {
    background: #222;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-family: inherit;
}

/* Loading State */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #333;
    border-top-color: #FF0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .fullscreen-header {
        padding: 1rem;
    }
    
    .fullscreen-content {
        padding: 1.5rem;
    }
    
    .intro-screen .cocktail-name {
        font-size: 2.5rem;
    }
    
    .intro-screen .cocktail-icon {
        font-size: 4rem;
    }
    
    .intro-screen .cocktail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ingredients-screen .screen-title {
        font-size: 1.8rem;
    }
    
    .ingredient-card-fs .ingredient-name {
        font-size: 1.1rem;
    }
    
    .preparation-screen .step-number-large {
        font-size: 5rem;
    }
    
    .preparation-screen .step-description {
        font-size: 1.4rem;
    }
    
    .final-screen .success-icon {
        font-size: 5rem;
    }
    
    .final-screen .success-title {
        font-size: 2rem;
    }
    
    .nav-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .keyboard-hints {
        display: none;
    }
}

@media (max-width: 480px) {
    .intro-screen .cocktail-name {
        font-size: 2rem;
    }
    
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    .preparation-screen .step-number-large {
        font-size: 4rem;
    }
    
    .preparation-screen .step-description {
        font-size: 1.2rem;
    }
    
    .step-dots {
        display: none;
    }
}

/* Inventory Deduction Notification */
.inventory-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #00FF00;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10001;
    max-width: 90%;
    min-width: 300px;
}

.inventory-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.inv-notify-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.inv-notify-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.inv-notify-content {
    text-align: left;
    flex: 1;
}

.inv-notify-title {
    font-weight: 600;
    color: #00FF00;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.inv-notify-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #CCCCCC;
}

.inv-notify-items span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.inv-item-deducted {
    border-left: 3px solid #00FF00;
}

.inv-item-deducted small {
    color: #888;
    font-size: 0.7rem;
    margin-left: 0.25rem;
}

/* Warning section styles */
.inv-notify-warnings {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.75rem;
}

.inv-notify-warnings .inv-notify-title {
    color: #FFA500;
}

.inv-item-warning {
    border-left: 3px solid #FFA500;
    color: #FFA500 !important;
}
