.list-bottom {
    width: 100%;
    height: 100%; 
}
        
.list_bottom-fav {
    width: 100%;
    height: 60px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-bottom-log {
    width: 100%;
    height: 60px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.log-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-cart-message {
    text-align: center;
    width: 100%;
    margin: 20px 0;
}

#log-form {
    width: 300px;
}

.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}
.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}
.submit-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.submit-button:hover {
    background-color: #45a049;
}
.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}
.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}
.submit-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.submit-button:hover {
    background-color: #45a049;
}
.login-container {
    margin-top: 10px;
}
.login-link, .register-link {
    color: blue;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    cursor: pointer;
}
.register-link:hover {
    text-decoration: underline;
}
.login-link:hover {
    text-decoration: underline;
}

.password-message {
    font-size: 14px;
    margin-top: 5px;
}
.sidebar-bottom-text-a {
    font-size: 20px; 
    padding: 10px 0px;
}
    
.sidebar-bottom-text {
    padding: 5px 0px;
    font-size: 20px; 
}
    
.divider {
    width: 100%;
    height: 1px;
    background-color: #555;
    border-radius: 6px;
}
    
.sidebar-top {
    padding: 20px;
    width: 100%;
    flex: 0 0 8%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
    
.sidebar-bottom {
    padding: 0px 20px 20px 20px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
    
.sidebar {
    position: fixed;
    top: 0;
    right: -45%;
    width: 45%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-sizing: border-box;
}
.sidebar.open {
    right: 0;
    z-index: 1003;
}
.close-button {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    position: absolute;
    left: 20px;
}
    
.sidebar-button-top {
    margin-right: 10px;
    display: block;
    font-size: 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #000;
    text-align: right;
}
.sidebar-button-bottom {
    font-size: 20px;
    font-weight: normal;
    transition: font-size 0.3s ease, font-weight 0.3s ease;
    padding: 20px 0px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #000;
    text-align: right;
}
    
.sidebar-button-bottom:hover {
    transform: scale(1.05);
    font-weight: bold;
}
    
.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1003;
}
.sb-background-image {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}
.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
    
@media (max-width: 500px) {
    .sidebar {
        width: 100%;
        right: -100%;
    }
      
    .close-button {
        left: 15px;
        font-size: 20px;
    }
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}
.cart-item img {
    width: 100px;
    height: auto;
    margin-right: 10px;
}
.remove-button {
    margin-left: 10px;
    cursor: pointer;
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
}
.remove-button:hover {
    background-color: #d32f2f;
}
.empty-message {
    text-align: center;
    padding: 20px;
}

.favorite.active img {
    opacity: 0.8;
}
.user-profile {
    padding: 15px;
}

.profile-info {
    margin: 15px 0;
}

.profile-info p {
    margin: 8px 0;
    font-size: 14px;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-button {
    padding: 10px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.profile-button:hover {
    background: #e0e0e0;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.cancel-button {
    background: #f5f5f5;
}
.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.submit-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

.submit-button:hover {
    background-color: #45a049;
}

.cancel-button {
    background-color: #f44336;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    margin-top: 10px;
}

.cancel-button:hover {
    background-color: #d32f2f;
}

.password-message {
    font-size: 12px;
    margin-bottom: 10px;
}

.profile-info {
    padding: 10px;
}

.profile-info p {
    margin: 5px 0;
}

.profile-button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.profile-button:hover {
    background-color: #555;
}

.form-actions {
    display: flex;
    flex-direction: column;
}

.empty-message, .empty-cart-message {
    text-align: center;
    color: #777;
    padding: 20px;
}

.profile-edit-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 10px;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.form-row label {
    flex: 0 0 120px;
    font-weight: 500;
    color: #333;
    text-align: right;
    font-size: 16px;
}

.form-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    min-width: 0;
    background-color: #fff;
}

.form-row input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.form-actions .submit-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
}

.form-actions .submit-button:hover {
    background-color: #45a049;
}

.form-actions .cancel-button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
}

.form-actions .cancel-button:hover {
    background-color: #5a6268;
}

.password-message {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        margin-bottom: 12px;
    }
    
    .form-row label {
        flex: none;
        text-align: left;
        font-size: 14px;
    }
    
    .form-row input {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions .submit-button,
    .form-actions .cancel-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .profile-edit-form {
        padding: 5px;
    }
}

.admin-section-main {
    background: rgba(255, 107, 107, 0.1);
    margin: 5px -20px;
    padding: 0 20px;
}

.admin-button {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    color: white !important;
    font-weight: bold !important;
}

.admin-button:hover {
    background: linear-gradient(135deg, #ee5a52, #ff6b6b) !important;
    transform: translateX(3px) !important;
}

.admin-header-title {
    text-align: center;
    padding: 10px 0;
}

.admin-header-title h3 {
    color: #ff6b6b;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.admin-section-main {
    border-left: 4px solid #ff6b6b;
}

/* Стили для 2FA верификации */
.verification-info {
    text-align: center;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.verification-info p {
    margin: 5px 0;
}

.verification-timer {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
    font-weight: 500;
}

#countdown {
    color: #dc3545;
    font-weight: bold;
}

.verification-message {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.resend-button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.3s;
}

.resend-button:disabled {
    background-color: #ced4da;
    cursor: not-allowed;
}

.resend-button:not(:disabled):hover {
    background-color: #5a6268;
}

.back-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.back-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

.debug-code {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin: 10px 0;
    text-align: center;
}

/* Стили для подсказок и предупреждений */
.login-hint {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
    font-style: italic;
}

.spam-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
    font-size: 12px;
    color: #856404;
    text-align: center;
}

/* Стили для 2FA верификации */
.verification-info {
    text-align: center;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.verification-info p {
    margin: 5px 0;
}

.verification-timer {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
    font-weight: 500;
}

#countdown {
    color: #dc3545;
    font-weight: bold;
}

.verification-message {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.resend-button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.3s;
}

.resend-button:disabled {
    background-color: #ced4da;
    cursor: not-allowed;
}

.resend-button:not(:disabled):hover {
    background-color: #5a6268;
}

.back-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.back-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

.captcha-container {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #495057;
}

.captcha-header span {
    font-weight: 500;
}

.captcha-image {
    text-align: center;
    margin: 10px 0;
}

.captcha-image img {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 50px;
}

.refresh-captcha {
    background: none;
    border: 1px solid #6c757d;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    color: #6c757d;
    transition: all 0.2s;
}

.refresh-captcha:hover {
    background-color: #6c757d;
    color: white;
}

.captcha-input {
    width: 100% !important;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}