/* VENOM CLIENT - СТИЛИ ДЛЯ СТРАНИЦ АВТОРИЗАЦИИ */

.auth-container {
    display: flex;
    min-height: calc(100vh - 80px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

.auth-card {
    flex: 1;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.auth-header {
    margin-bottom: 30px;
    text-align: center;
}

.auth-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--venom-green), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.symbiote-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--venom-green), var(--accent-color), var(--venom-purple));
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.symbiote-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.auth-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    margin-right: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 18px;
}

.input-with-icon input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px #f3a5fc71;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 30px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-container:hover .checkmark {
    border-color: var(--accent-color);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    color: var(--accent-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    text-decoration: underline;
}

.form-error {
    color: var(--danger-color);
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 20px;
    font-weight: 500;
}

.auth-submit-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--venom-green), var(--accent-color));
    border: none;
    color: #000;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-main);
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--venom-purple));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px #f3a5fc77;
    color: #fff;
}

.auth-submit-btn:hover::before {
    opacity: 1;
}

.auth-submit-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.auth-submit-btn:hover i {
    transform: translateX(5px);
}

.auth-footer {
    text-align: center;
    padding: 15px;
}

.auth-footer p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    color: var(--venom-green);
}

.back-to-home {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-to-home i {
    transition: transform 0.3s ease;
}

.back-to-home:hover i {
    transform: translateX(-5px);
}

.auth-decoration {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: var(--text-color);
    overflow: hidden;
}

.symbiote-effect-auth {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../images/symbiote-effect.png') no-repeat center center/cover; */
    opacity: 0.2;
    z-index: 2;
    animation: pulse 3s infinite alternate;
    backdrop-filter: blur(5px);
    /* background: #00ffff00; */
}

.auth-image {
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.auth-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 0px 20px #b1b1b1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.auth-quote {
    text-align: center;
    position: relative;
    z-index: 1;
}

.auth-quote h3 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--venom-green), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.auth-quote p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}


/* Уведомления */

.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
}

.notification {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    transform: translateX(120%);
    animation: slideIn 0.3s forwards;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--accent-color);
}

.notification.error {
    border-left-color: var(--danger-color);
}

.notification.success {
    border-left-color: #4caf50;
}

.notification i {
    margin-right: 15px;
    font-size: 20px;
}

.notification.error i {
    color: var(--danger-color);
}

.notification.success i {
    color: #4caf50;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin-bottom: 5px;
    color: var(--text-color);
    font-size: 16px;
}

.notification-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

.notification.slideOut {
    animation: slideOut 0.3s forwards;
}

@keyframes slideOut {
    to {
        transform: translateX(120%);
    }
}


/* Адаптивный дизайн */

@media screen and (max-width: 992px) {
    .auth-container {
        flex-direction: column;
        gap: 40px;
    }
    .auth-decoration {
        order: -1;
        padding: 20px;
    }
    .auth-image {
        max-width: 300px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .auth-header h2 {
        font-size: 28px;
    }
}


/* Venom Client - Стили авторизации */


/* Кнопки входа и регистрации */

.auth-links {
    display: flex;
    gap: 10px;
}

.login-btn,
.register-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.login-btn:hover,
.register-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 229, 255, 0.3);
}


/* Модальные окна авторизации */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.showing {
    display: block;
    animation: modalFadeIn 0.3s forwards;
}

.modal.hiding {
    animation: modalFadeOut 0.3s forwards;
}

.modal-content {
    background-color: #151515;
    margin: 5% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 0 30px #f3a5fc65;
    border: 1px solid #f3a5fc65;
    animation: modalContentSlideIn 0.4s ease;
    position: relative;
    padding: 25px;
    color: #fff;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes modalContentSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-modal:hover {
    color: #00e5ff;
    transform: scale(1.1);
}

.modal h2 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f3a5fc;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal h2 i {
    margin-right: 10px;
    color: #f3a5fc;
}


/* Обновленные события для открытия и закрытия модальных окон */

.modal.fadeIn {
    display: block;
    animation: modalFadeIn 0.4s forwards;
}

.modal.fadeOut {
    animation: modalFadeOut 0.4s forwards;
}


/* Формы авторизации */

.form-groupreg_and_log {
    margin-bottom: 20px;
    margin-right: 10px;
}

.form-groupreg_and_log input {
    width: 100%;
    /*padding: 12px 15px;*/
    border: 1px solid #333;
    background-color: var(--background-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-groupreg_and_log input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    outline: none;
}

.form-group {
    margin-bottom: 20px;
    margin-right: 10px;
    width: 300%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group input {
    width: 100%;
    /*padding: 12px 15px;*/
    border: 1px solid #333;
    background-color: var(--background-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    outline: none;
}

.save-btn_2 {
    background: linear-gradient(90deg, #f3a5fc69, #32183f);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    width: 95%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.save-btn_2:hover {
    transform: translateY(-2px);
    box-shadow: 0 0px 15px #e653f73b;
}

.form-group_2 {
    margin-bottom: 20px;
    margin-right: 10px;
}

.form-group_2 label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group_2 input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #333;
    background-color: var(--background-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group_2 input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    outline: none;
}

.save-btn {
    background: linear-gradient(90deg, #f3a5fc69, #32183f);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    width: 200%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0px 15px #e653f73b;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #f3a5fc;
    text-decoration: underline;
}


/* Мини-профиль */

.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    padding: 20px;
}

.user-profile-mini img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ffffff8f;
    box-shadow: 0 0 8px #ffffffc2;
    transition: all 0.3s ease;
}

.user-profile-mini span {
    font-weight: 600;
    color: var(--text-primary);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 150px;
    background-color: var(--background-light);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid #f3a5fc5c;
}

.user-profile-mini:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background-color: var(--background-light);
    transform: rotate(45deg);
    border-top: 1px solid #f3a5fc5c;
    border-left: 1px solid #f3a5fc5c;
}

.user-dropdown a {
    display: block;
    padding: 8px 0px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown a i {
    color: var(--primary-color);
}

.user-dropdown a:hover {
    background-color: #f3a5fc25;
}


/* Уведомления */

.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    max-width: 90%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(26, 26, 26, 0.95);
    border-left: 4px solid #f3a5fc;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s forwards;
    position: relative;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.removing {
    animation: slideOut 0.3s forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.success {
    border-left-color: #4caf50;
}

.notification.error {
    border-left-color: #f44336;
}

.notification.warning {
    border-left-color: #ff9800;
}

.notification-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
}

.notification.success .notification-icon {
    color: #4caf50;
}

.notification.error .notification-icon {
    color: #f44336;
}

.notification.warning .notification-icon {
    color: #ff9800;
}

.notification-content {
    flex: 1;
}

.notification-title {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.notification-message {
    margin: 0;
    font-size: 14px;
    color: #cccccc;
}

.notification-close {
    background: none;
    border: none;
    color: #999999;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notification-close:hover {
    color: #ffffff;
    transform: scale(1.2);
}