* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.navbar-profile {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.main-logo {
        width: 300px;
        height: 70px;
        filter: contrast(1.6) brightness(1.05);
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: -moz-crisp-edges;
        display: block;
        object-fit: contain;
        transition: all 0.3s ease;
    }



    /* Адаптивность */
    @media (max-width: 768px) {
        .main-logo {
            filter: contrast(1.6) brightness(1.05);
            width: 300px;
            height: auto;
        }
    }

    @media (max-width: 480px) {
        .main-logo {
        filter: contrast(1.6) brightness(1.05);
            width: 200px;
            height: auto;
        }
    }

.content-container-temp {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

#order {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.auth-container {
    max-width: 1200px;
    width: 100%;
}
.auth-promo-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    gap: 48px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.promo-left {
    flex: 1;
    text-align: center;
}
.promo-title {
    font-size: 28px;
    font-weight: 700;
    color: #484848;
    margin-bottom: 16px;
    line-height: 1.3;
}
.promo-text {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 32px;
}
.card {
    flex: 1;
    max-width: 450px;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
    margin: 0;
}
.tab-container {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: #f5f7fa;
    padding: 4px;
    border-radius: 14px;
}
.tab.active {
    background: #ffc107;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #484848;
    font-weight: 600;
}
.tab {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
    border: none;
    background: transparent;
    font-family: inherit;
}
.form-panel.active-panel {
    display: block;
}
.form-panel {
    display: none;
    animation: fade 0.25s ease;
}
.input-group {
    margin-bottom: 20px;
    width: 100%;
}
.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #484848;
}
label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: #3d4347;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.input-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    border: 1px solid #dee2e6;
    border-radius: 12px !important;
    outline: none;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}
.input-group input:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
}
.password-input-container {
    position: relative;
    width: 100%;
}
.password-input-container input {
    width: 100%;
    padding: 12px 45px 12px 14px;
    font-size: 0.95rem;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    color: #6c757d;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    z-index: 2;
}

.toggle-password:hover {
    color:#FFC107;
}
.btn {
    width: 100%;
    padding: 12px 20px;
    background: #ffc107 !important;
    color: #484848 !important;
    font-weight: 700 !important;
    font-size: 1rem;
    border-radius: 12px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    margin-top: 8px;
}
.register-hint {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
    border-top: 1px solid #eef2f6;
    padding-top: 18px;
}
.register-hint a, .fake-link {
    color: #484848;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.custom-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 2rem 0 1rem;
    font-size: 14px;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #dee2e6;
    font-size: 12px;
    color: #6c757d;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: -0.3px;
}
@media (max-width: 768px) {
    .small_button {
        zoom: 92%;
    }
}
@media (max-width: 767.98px) {
    .navbar-expand-md>.container, .navbar-expand-md>.container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
}
@media (max-width: 992px) {
    .promo-left {
        width: 100%;
        order: 1;
    }
    .card {
        width: 100%;
        max-width: 100%;
    }
    .auth-promo-wrapper {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }
}

.btn:hover {
    background: #e6a800 !important;
    transform: translateX(-1px);
    color: #484848 !important;
}

@media (max-width: 480px) {
    .promo-title {
        font-size: 16px;
    }
    .promo-text {
        font-size: 12px;
    }
    .card {
        padding: 20px;
    }
    .auth-promo-wrapper {
        padding: 16px;
        gap: 16px;
    }
}
@media (max-width: 576px) {
    #order {
        width: 100%;
    }
}