/* *** SHARED STYLES *** */

@font-face {
    font-family: 'Luckiest Guy';
    src: url('../font/luckiestguy_regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Flex';
    src: url('../font/roboto_flex.ttf') format('truetype');
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

/* *** CSS VARIABLES *** */
:root {
    --Black: #151515;
    --Red: #FF6365;
    --Green: #0ADABB;
}

/* *** RECIPES PAGE *** */
.recipes-page {
    background: #000000;
    color: white;
    font-family: 'Roboto Flex', Arial, sans-serif;
    padding: 40px 20px;
}

.recipes-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

.recipes-page h1 {
    font-family: 'Luckiest Guy', Arial, sans-serif;
    font-size: 4em;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.search-container input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2em;
    font-family: 'Roboto Flex', Arial, sans-serif;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 2em;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-container input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffdc00;
    box-shadow: 0 0 20px rgba(255, 220, 0, 0.3);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.recipe {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.recipe:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.ingredient-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ingredient-item:hover {
    transform: scale(1.05);
}

.ingredient-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.ingredient-name {
    font-size: 0.9em;
    text-align: center;
    opacity: 0.9;
    max-width: 120px;
    word-wrap: break-word;
}

.operator {
    font-size: 2em;
    font-weight: bold;
    opacity: 0.7;
    margin: 0 10px;
}

.workstation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.workstation-name {
    font-size: 0.85em;
    text-align: center;
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: bold;
    color: #ffdc00;
}

.recipes-page .loading {
    text-align: center;
    font-size: 1.5em;
    padding: 100px 20px;
    opacity: 0.7;
}

.recipes-page .error {
    text-align: center;
    font-size: 1.2em;
    padding: 100px 20px;
    color: #ff6b6b;
}

.section-title {
    font-family: 'Luckiest Guy', Arial, sans-serif;
    font-size: 2.5em;
    margin: 60px 0 30px 0;
    text-transform: uppercase;
    color: #ffdc00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.combination-recipe {
    background: rgba(255, 220, 0, 0.05);
    border-color: rgba(255, 220, 0, 0.2);
}

.combination-recipe:hover {
    background: rgba(255, 220, 0, 0.1);
    border-color: rgba(255, 220, 0, 0.4);
}
