﻿html {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

#generate
{
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.container
{
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

html {
    position: relative;
    min-height: 100%;
}

.nav-item
{
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.dish-card {
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-left: 10px;
    margin-bottom: 15px;
}

    .dish-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.12) 100% );
        border-radius: 20px;
        z-index: -1;
    }


.dish-image {
    width: 250px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.1);
}


.dish-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.checkbox-label {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.glass-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

    .glass-checkbox:checked {
        background: rgba(0, 122, 255, 0.2);
        border-color: rgba(0, 122, 255, 0.5);
    }

        .glass-checkbox:checked::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #007AFF;
            font-weight: bold;
            font-size: 12px;
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
        }

    .glass-checkbox:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
    }

.details-button {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 14px 28px;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

    .details-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.2) 100% );
        border-radius: 16px;
        z-index: -1;
        opacity: 0.6;
    }

    .details-button::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: left 0.6s ease;
        z-index: -1;
    }

    .details-button:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
    }

        .details-button:hover::after {
            left: 100%;
        }

    .details-button:active {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.1s ease;
    }


.navbar {
    margin: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 14px 28px;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    width: calc(100% - 40px);
    overflow: hidden;
    z-index: 5;
    text-decoration: none;
}

    .navbar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.2) 100% );
        border-radius: 16px;
        z-index: -1;
        opacity: 0.6;
    }

    .navbar::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: left 0.6s ease;
        z-index: -1;
    }

    /* Контейнер навбара */
    .navbar .nav-container {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 2;
        width: 100%;
    }

    /* Бренд */
    .navbar .navbar-brand {
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(25px) saturate(200%);
        -webkit-backdrop-filter: blur(25px) saturate(200%);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        padding: 10px 20px;
        color: #1a1a1a;
        font-size: 17px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        white-space: nowrap;
        display: inline-block;
        flex-shrink: 0;
        margin-right: 20px;
    }

        .navbar .navbar-brand::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient( 135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.4) 100% );
            border-radius: 16px;
            z-index: -1;
        }

        .navbar .navbar-brand:hover {
            background: rgba(255, 255, 255, 0.5);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
        }

    /* Навигационные ссылки */
    .navbar .glass-nav-links {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 12px;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

.glass-nav-links li {
    flex-shrink: 0;
}

/* Навигационные ссылки */
.glass-nav-link {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 12px 20px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: fit-content;
    white-space: nowrap;
    height: 48px;
    box-sizing: border-box;
}

    .glass-nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.2) 100% );
        border-radius: 16px;
        z-index: -1;
        opacity: 0.6;
    }

    .glass-nav-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: left 0.6s ease;
        z-index: -1;
    }

    .glass-nav-link:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
    }

        .glass-nav-link:hover::after {
            left: 100%;
        }

    .glass-nav-link:active {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.1s ease;
    }

/* Иконки в ссылках */
.link-icon {
    font-size: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

.link-text {
    flex-shrink: 0;
}

/* Особые стили для элементов */
.blocked-message {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

.user-greeting {
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.4);
}

/* Кнопка выхода */
.logout-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.logout-btn {
    background: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
    text-align: center;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .navbar {
        margin: 15px;
        padding: 12px 20px;
        width: calc(100% - 30px);
    }

        .navbar .navbar-brand {
            padding: 8px 16px;
            font-size: 16px;
            margin-right: 15px;
        }

    .glass-nav-link {
        padding: 10px 16px;
        font-size: 15px;
        height: 44px;
    }

    .link-icon {
        font-size: 16px;
        margin-right: 6px;
    }
}

/* Адаптивность для планшетов (меньшие) */
@media (max-width: 900px) {
    .navbar .glass-nav-links {
        gap: 8px;
    }

    .glass-nav-link {
        padding: 8px 14px;
        font-size: 14px;
        height: 42px;
    }

    .link-icon {
        font-size: 15px;
        margin-right: 5px;
    }

    .navbar .navbar-brand {
        padding: 7px 14px;
        font-size: 15px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .navbar {
        margin: 10px;
        padding: 10px 16px;
        width: calc(100% - 20px);
        border-radius: 14px;
    }

        .navbar .nav-container {
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
        }

        .navbar .navbar-brand {
            width: 100%;
            text-align: center;
            margin-right: 0;
            margin-bottom: 8px;
            padding: 10px 16px;
        }

        .navbar .glass-nav-links {
            justify-content: center;
            gap: 8px;
        }

    .glass-nav-links li {
        flex: 1;
        min-width: 120px;
    }

    .glass-nav-link {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        font-size: 14px;
        height: 42px;
        border-radius: 12px;
    }

    .link-icon {
        margin-right: 6px;
    }

    /* Сокращаем длинный текст */
    .user-greeting .link-text {
        display: none;
    }

    .user-greeting .link-icon {
        margin-right: 0;
        font-size: 18px;
    }

    .blocked-message {
        font-size: 13px;
        text-align: center;
        white-space: normal;
        height: auto;
        min-height: 42px;
    }
}

/* Адаптивность для маленьких мобильных */
@media (max-width: 480px) {
    .navbar {
        margin: 8px;
        padding: 8px 12px;
        width: calc(100% - 16px);
        border-radius: 12px;
    }

        .navbar .navbar-brand {
            padding: 8px 12px;
            font-size: 14px;
            border-radius: 12px;
        }

        .navbar .glass-nav-links {
            gap: 6px;
        }

    .glass-nav-links li {
        min-width: auto;
        flex: 1 1 calc(50% - 6px);
    }

    .glass-nav-link {
        padding: 8px 10px;
        font-size: 13px;
        height: 40px;
        border-radius: 10px;
        flex-direction: column;
        justify-content: center;
    }

    .link-icon {
        margin-right: 0;
        margin-bottom: 2px;
        font-size: 14px;
    }

    .link-text {
        font-size: 11px;
        text-align: center;
        line-height: 1.2;
    }

    /* Иконки вместо текста для очень маленьких экранов */
    .glass-nav-link span:last-child {
        display: none;
    }

    .glass-nav-link::after {
        content: attr(title);
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 11px;
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 100;
    }

    .glass-nav-link:hover::after {
        opacity: 1;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 360px) {
    .navbar .glass-nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .glass-nav-links li {
        flex: 1 1 100%;
        margin-bottom: 4px;
    }

    .glass-nav-link {
        flex-direction: row;
        justify-content: center;
        padding: 8px 12px;
    }

    .link-icon {
        margin-right: 6px;
        margin-bottom: 0;
    }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.table-danger {
    background-color: #f8d7da !important;
}

.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
}

.fas {
    font-size: 0.875rem;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.week-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 14px 28px;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

    .week-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
    }

    .week-btn.active {
        transform: translateY(0);
        background: rgba(0, 200, 0, 0.2);
        border-color: rgba(200, 200, 200, 0.5);
        transition: all 0.1s ease;
    }
        .week-btn.active:hover {
            background: rgba(0, 200, 0, 0.2);
            border-color: rgba(200, 200, 200, 0.5);
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
        }


.container {
    width:100%;
    padding: 20px;
}

.weeks-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 10px;
}
@media (max-width: 768px) {
    #weeks-row {
        justify-content: flex-start;
    }
}
.days-container {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

    .days-container.active {
        display: flex;
    }

.day-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 14px 28px;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

day-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
}

.day-btn.active {
    transform: translateY(0);
    background: rgba(0, 200, 0, 0.2);
    border-color: rgba(200, 200, 200, 0.5);
    transition: all 0.1s ease;
}
    .day-btn.active:hover {
        background: rgba(0, 200, 0, 0.2);
        border-color: rgba(200, 200, 200, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
    }

.meals-container {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 20px;
}

    .meals-container.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

.meal-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 14px 28px;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

    .meal-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
    }

    .meal-btn.active {
        transform: translateY(0);
        background: rgba(0, 200, 0, 0.2);
        border-color: rgba(200, 200, 200, 0.5);
        transition: all 0.1s ease;
    }
        .meal-btn.active:hover {
            background: rgba(0, 200, 0, 0.2);
            border-color: rgba(200, 200, 200, 0.5);
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
        }

.selected-info {
    text-align: center;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 16px;
    color: #1976D2;
}

.section-title {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}
body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.fade-bg {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    background: radial-gradient( circle at 0% 0%, #eca86b 0%, transparent 50% ), radial-gradient( circle at 50% 50%, #a8a8a8 0%, transparent 60% ), radial-gradient( circle at 100% 100%, #87ceeb 0%, transparent 50% ), linear-gradient( 135deg, #f5e6d3 0%, #d3d3d3 50%, #87ceeb 100% );
    z-index: -5;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.grid
{
    display:flex;
    flex-wrap: wrap;
    margin-left:3%;
    margin-right: 3%;
}

/* Для компьютеров/ноутбуков */
@media (min-width: 769px) {
    .grid {
        justify-content: flex-start;
    }
}

/* Для планшетов (ширина 481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .grid {
        justify-content: center; 
    }

}

/* Для мобильных устройств */
@media (max-width: 480px) {
    .grid {
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
    }

    .dish-card {
        width: 90%;
        max-width: 300px;
    }
}
.glass-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 14px 28px;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

    .glass-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.2) 100% );
        border-radius: 16px;
        z-index: -1;
        opacity: 0.6;
    }

    .glass-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: left 0.6s ease;
        z-index: -1;
    }

    .glass-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
    }

        .glass-btn:hover::after {
            left: 100%;
        }

    .glass-btn:active {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.1s ease;
    }



.glass-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow-y: hidden;
    overflow-x: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

    .glass-table::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.12) 100% );
        z-index: -1;
    }

    .glass-table thead {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
    }

    .glass-table th {
        padding: 16px 12px;
        text-align: left;
        font-weight: 600;
        color: #1a1a1a;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .glass-table td {
        padding: 14px 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #1a1a1a;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .glass-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .glass-table tbody tr:last-child td {
        border-bottom: none;
    }

    .glass-table .btn {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        padding: 6px 12px;
        color: #1a1a1a;
        font-size: 14px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

        .glass-table .btn:hover {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-1px);
        }

    .glass-table .btn-warning {
        background: rgba(255, 193, 7, 0.2);
        border-color: rgba(255, 193, 7, 0.4);
    }

        .glass-table .btn-warning:hover {
            background: rgba(255, 193, 7, 0.3);
        }

    .glass-table .btn-success {
        background: rgba(40, 167, 69, 0.2);
        border-color: rgba(40, 167, 69, 0.4);
    }

        .glass-table .btn-success:hover {
            background: rgba(40, 167, 69, 0.3);
        }

    .glass-table .badge {
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .glass-table .bg-success {
        background: rgba(40, 167, 69, 0.3) !important;
    }

    .glass-table .bg-danger {
        background: rgba(220, 53, 69, 0.3) !important;
    }

    .glass-table .bg-secondary {
        background: rgba(108, 117, 125, 0.3) !important;
    }

.glass-modal .modal-content {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    color: #1a1a1a;
}

.glass-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.glass-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}
.glass-details-container {
    position: relative;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
}

.glass-details-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 1;
}

    .glass-details-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.12) 100% );
        border-radius: 24px;
        z-index: -1;
    }

.details-header {
    text-align: center;
    margin-bottom: 40px;
}

.details-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.details-subtitle {
    font-size: 1.1rem;
    color: #1a1a1a;
}

.glass-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.glass-image-frame {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.dish-details-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100% );
    border-radius: 12px;
    pointer-events: none;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

    .info-section:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

.info-label {
    font-size: 0.9rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.glass-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.details-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.edit-btn {
    background: rgba(0, 122, 255, 0.2);
    border-color: rgba(0, 122, 255, 0.4);
}

    .edit-btn:hover {
        background: rgba(0, 122, 255, 0.3);
    }

.back-btn {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.4);
}

    .back-btn:hover {
        background: rgba(108, 117, 125, 0.3);
    }

.btn-icon {
    font-size: 18px;
}

@media (max-width: 992px) {
    .glass-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .dish-details-image {
        height: 300px;
    }

    .glass-details-card {
        padding: 30px 20px;
    }

    .details-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .details-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .glass-btn {
        justify-content: center;
    }

    .dish-details-image {
        height: 250px;
    }

    .glass-details-container {
        padding: 20px 10px;
    }
}
.glass-form-container {
    position: relative;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-form-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .glass-form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.12) 100% );
        border-radius: 24px;
        z-index: -1;
    }

.glass-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.glass-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glass-form-subtitle {
    font-size: 1.1rem;
    color: #1a1a1a;
}

.glass-form-group {
    margin-bottom: 25px;
}

.glass-form-label {
    display: block;
    font-size: 0.9rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 500;
}

.glass-form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #1a1a1a;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .glass-form-control:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    }

    .glass-form-control::placeholder {
        color: rgba(26, 26, 26, 0.5);
    }

.glass-form-hint {
    font-size: 0.85rem;
    color: #1a1a1a;
    margin-top: 4px;
    margin-bottom: 8px;
    font-style: italic;
}

.glass-form-validation {
    font-size: 0.85rem;
    color: #ff6b6b;
    margin-top: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.glass-details-list {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.glass-detail-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .glass-detail-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.glass-detail-label {
    flex: 0 0 150px;
    font-weight: 600;
    color: #1a1a1a;
}

.glass-detail-value {
    flex: 1;
    color: #1a1a1a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.glass-warning-box {
    background: rgba(220, 53, 69, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
}

.glass-warning-text {
    color: #ff6b6b;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.glass-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}


.glass-btn-danger {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

    .glass-btn-danger:hover {
        background: rgba(220, 53, 69, 0.3);
    }

.glass-btn-primary {
    background: rgba(0, 122, 255, 0.2);
    border-color: rgba(0, 122, 255, 0.4);
}

    .glass-btn-primary:hover {
        background: rgba(0, 122, 255, 0.3);
    }

.glass-btn-secondary {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.4);
}

    .glass-btn-secondary:hover {
        background: rgba(108, 117, 125, 0.3);
    }

.btn-icon {
    font-size: 18px;
}

.delete-btn {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

    .delete-btn:hover {
        background: rgba(220, 53, 69, 0.3);
    }

.back-btn {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.4);
}

    .back-btn:hover {
        background: rgba(108, 117, 125, 0.3);
    }

.btn-icon {
    font-size: 18px;
}

/* Стиль для подтверждения удаления */
.glass-delete-confirm {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .glass-delete-confirm.active {
        opacity: 1;
        visibility: visible;
    }

.glass-delete-modal {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.delete-modal-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.delete-modal-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.5;
}

.delete-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.delete-confirm-btn {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

    .delete-confirm-btn:hover {
        background: rgba(220, 53, 69, 0.4);
    }

.delete-cancel-btn {
    background: rgba(108, 117, 125, 0.3);
    border-color: rgba(108, 117, 125, 0.5);
}

    .delete-cancel-btn:hover {
        background: rgba(108, 117, 125, 0.4);
    }

@media (max-width: 768px) {
    .glass-form-card {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .glass-form-title {
        font-size: 1.75rem;
    }

    .glass-form-actions {
        flex-direction: column;
    }

    .glass-btn {
        width: 100%;
    }

    .glass-detail-item {
        flex-direction: column;
    }

    .glass-detail-label {
        flex: none;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .glass-form-container {
        padding: 20px 10px;
    }

    .glass-form-title {
        font-size: 1.5rem;
    }
}
.glass-auth-container {
    position: relative;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-auth-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient( circle at 0% 0%, #eca86b 0%, transparent 50% ), radial-gradient( circle at 50% 50%, #a8a8a8 0%, transparent 60% ), radial-gradient( circle at 100% 100%, #87ceeb 0%, transparent 50% ), linear-gradient( 135deg, #f5e6d3 0%, #d3d3d3 50%, #87ceeb 100% );
    z-index: -2;
}

.glass-auth-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: cardAppear 0.6s ease-out;
}

    .glass-auth-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.25) 100% );
        border-radius: 24px;
        z-index: -1;
    }

.glass-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    margin-bottom: 20px;
}

.auth-icon-symbol {
    font-size: 64px;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
    color: #1a1a1a;
}

.glass-auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.glass-auth-subtitle {
    font-size: 1rem;
    color: #333333;
    line-height: 1.5;
}

.glass-auth-form {
    margin-bottom: 25px;
}

.glass-input-wrapper {
    position: relative;
    width: 100%;
}

    .glass-input-wrapper .input-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #666666;
        pointer-events: none;
    }

    .glass-input-wrapper .glass-form-control {
        padding-left: 45px;
        color: #1a1a1a;
    }

.password-toggle-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666666;
    padding: 5px;
    transition: all 0.3s ease;
    z-index: 2;
}

    .password-toggle-btn:hover {
        color: #1a1a1a;
        transform: translateY(-50%) scale(1.1);
    }

.glass-auth-actions {
    margin-top: 30px;
}

.glass-auth-btn {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(0, 86, 179, 0.4) 100%);
    border: 1px solid rgba(0, 123, 255, 0.6);
    border-radius: 16px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.25);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

    .glass-auth-btn:hover {
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.5) 0%, rgba(0, 86, 179, 0.5) 100%);
        border-color: rgba(0, 123, 255, 0.8);
        box-shadow: 0 8px 30px rgba(0, 123, 255, 0.35);
        transform: translateY(-3px);
        color: white;
    }

    .glass-auth-btn .btn-icon {
        font-size: 20px;
        margin-right: 10px;
    }

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 15px;
}

.glass-auth-link {
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

    .glass-auth-link:hover {
        color: #1a1a1a;
        background: rgba(255, 255, 255, 0.3);
        text-decoration: none;
    }

    .glass-auth-link .link-icon {
        font-size: 16px;
    }

.glass-auth-error {
    background: rgba(220, 53, 69, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.5s ease;
    margin-top: 20px;
}

.error-icon {
    font-size: 20px;
    color: #d9534f;
    flex-shrink: 0;
}

.error-text {
    color: #d9534f;
    font-size: 14px;
    line-height: 1.4;
}

.glass-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 600;
}

.glass-form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: #1a1a1a;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .glass-form-control:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    }

    .glass-form-control::placeholder {
        color: #666666;
    }

.glass-form-validation {
    font-size: 0.85rem;
    color: #d9534f;
    margin-top: 5px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .glass-auth-container {
        padding: 15px;
    }

    .glass-auth-card {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .auth-icon-symbol {
        font-size: 56px;
    }

    .glass-auth-title {
        font-size: 1.75rem;
    }

    .glass-auth-subtitle {
        font-size: 0.95rem;
    }

    .glass-auth-btn {
        padding: 14px 28px;
        font-size: 17px;
    }

    .auth-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .glass-auth-container {
        padding: 10px;
    }

    .glass-auth-card {
        padding: 25px 20px;
        border-radius: 18px;
        max-width: 100%;
    }

    .auth-icon-symbol {
        font-size: 48px;
    }

    .glass-auth-title {
        font-size: 1.5rem;
    }

    .glass-auth-subtitle {
        font-size: 0.9rem;
    }

    .glass-auth-btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    .btn-text {
        font-size: 15px;
    }

    .glass-auth-btn .btn-icon {
        font-size: 18px;
        margin-right: 8px;
    }

    .glass-auth-error {
        padding: 12px;
    }

    .error-text {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .glass-auth-card {
        padding: 20px 15px;
    }

    .glass-auth-title {
        font-size: 1.3rem;
    }

    .glass-auth-subtitle {
        font-size: 0.85rem;
    }

    .glass-auth-btn .btn-icon {
        margin-right: 6px;
    }

    .btn-text {
        font-size: 14px;
    }
}

.glass-form-container {
    position: relative;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-form-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient( circle at 0% 0%, #eca86b 0%, transparent 50% ), radial-gradient( circle at 50% 50%, #a8a8a8 0%, transparent 60% ), radial-gradient( circle at 100% 100%, #87ceeb 0%, transparent 50% ), linear-gradient( 135deg, #f5e6d3 0%, #d3d3d3 50%, #87ceeb 100% );
    z-index: -2;
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

    .glass-form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.25) 100% );
        border-radius: 24px;
        z-index: -1;
    }

.glass-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.glass-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.glass-form-subtitle {
    font-size: 1.1rem;
    color: #333333;
}

.glass-form-group {
    margin-bottom: 25px;
}

.glass-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 600;
}

.glass-form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: #1a1a1a;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .glass-form-control:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    }

    .glass-form-control::placeholder {
        color: #666666;
    }

.glass-form-hint {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 4px;
    margin-bottom: 8px;
    font-style: italic;
}

.glass-form-validation {
    font-size: 0.85rem;
    color: #d9534f;
    margin-top: 5px;
    font-weight: 500;
}

.glass-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 12px 30px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .glass-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        text-decoration: none;
        color: #1a1a1a;
    }

.glass-btn-primary {
    background: rgba(0, 122, 255, 0.3);
    border-color: rgba(0, 122, 255, 0.5);
    color: #1a1a1a;
}

    .glass-btn-primary:hover {
        background: rgba(0, 122, 255, 0.4);
        border-color: rgba(0, 122, 255, 0.7);
    }

.glass-btn-secondary {
    background: rgba(108, 117, 125, 0.25);
    border-color: rgba(108, 117, 125, 0.4);
}

    .glass-btn-secondary:hover {
        background: rgba(108, 117, 125, 0.35);
    }

.btn-icon {
    font-size: 18px;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
    color: #1a1a1a;
}

@keyframes spinner-border {
    100% {
        transform: rotate(360deg);
    }
}

.spinner-border-sm {
    width: 0.8rem;
    height: 0.8rem;
    border-width: 0.15em;
}

.glass-form-label:has(+ .glass-form-control[required])::after {
    content: ' *';
    color: #d9534f;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .glass-form-card {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .glass-form-title {
        font-size: 1.75rem;
    }

    .glass-form-actions {
        flex-direction: column;
    }

    .glass-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .glass-form-container {
        padding: 20px 10px;
    }

    .glass-form-title {
        font-size: 1.5rem;
    }

    .glass-form-subtitle {
        font-size: 1rem;
    }
}
.glass-blocked-container {
    position: relative;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-blocked-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    z-index: -2;
}

.glass-blocked-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

    .glass-blocked-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.12) 100% );
        border-radius: 24px;
        z-index: -1;
    }

.glass-blocked-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-blocked-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glass-blocked-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.glass-blocked-content {
    margin-bottom: 30px;
}

.glass-blocked-message {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.glass-blocked-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
}

    .glass-blocked-info p {
        color: white;
        margin-bottom: 15px;
        font-size: 1rem;
        line-height: 1.5;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

.glass-blocked-contact {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

    .glass-blocked-contact strong {
        color: white;
        font-weight: 600;
    }

.glass-blocked-actions {
    text-align: center;
}

.glass-blocked-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 14px 32px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .glass-blocked-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        color: white;
    }

@media (max-width: 768px) {
    .glass-blocked-container {
        padding: 15px;
    }

    .glass-blocked-card {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .glass-blocked-title {
        font-size: 1.75rem;
    }

    .glass-blocked-subtitle {
        font-size: 1rem;
    }

    .glass-blocked-message {
        font-size: 1rem;
    }

    .glass-blocked-btn {
        padding: 12px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .glass-blocked-container {
        padding: 10px;
    }

    .glass-blocked-card {
        padding: 25px 20px;
        border-radius: 18px;
        max-width: 100%;
    }

    .glass-blocked-title {
        font-size: 1.5rem;
    }

    .glass-blocked-subtitle {
        font-size: 0.95rem;
    }

    .glass-blocked-message {
        font-size: 0.95rem;
    }

    .glass-blocked-info {
        padding: 15px;
    }

        .glass-blocked-info p {
            font-size: 0.95rem;
        }

    .glass-blocked-contact {
        padding: 12px;
        font-size: 1rem;
    }

    .glass-blocked-btn {
        padding: 12px 24px;
        font-size: 16px;
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .glass-blocked-card {
        padding: 20px 15px;
    }

    .glass-blocked-title {
        font-size: 1.3rem;
    }

    .glass-blocked-subtitle {
        font-size: 0.9rem;
    }

    .glass-blocked-message {
        font-size: 0.9rem;
    }

    .glass-blocked-info p {
        font-size: 0.9rem;
    }

    .glass-blocked-contact {
        font-size: 0.95rem;
    }
}

.rain-glass-container
{
    overflow-x: auto;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.hidden
{
    display: none;
}