* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle at top left,
            #4f46e5,
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            #9333ea,
            transparent 35%
        ),
        #080b18;

    color: white;

    padding: 20px;
}


/* Основной контейнер */

.container {
    width: 100%;
    max-width: 1000px;
}


/* Auth Box */

.auth-box {
    display: flex;

    min-height: 650px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 30px;

    overflow: hidden;

    backdrop-filter: blur(20px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5);
}


/* Левая часть */

.welcome-section {
    width: 45%;

    display: flex;
    align-items: center;

    padding: 60px;

    background:
        linear-gradient(
            135deg,
            rgba(79, 70, 229, 0.9),
            rgba(147, 51, 234, 0.8)
        );
}


.welcome-content h1 {
    font-size: 48px;

    line-height: 1.1;

    margin-bottom: 25px;
}


.welcome-content p {
    color: rgba(255, 255, 255, 0.8);

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 35px;
}


.welcome-line {
    width: 70px;

    height: 4px;

    background: white;

    border-radius: 10px;

    margin-bottom: 25px;
}


.welcome-content span {
    color: rgba(255, 255, 255, 0.8);

    font-size: 14px;
}


/* Правая часть */

.form-section {
    width: 55%;

    padding: 50px;

    background: rgba(10, 13, 30, 0.7);
}


/* Tabs */

.tabs {
    display: flex;

    gap: 10px;

    padding: 5px;

    margin-bottom: 40px;

    background: rgba(255, 255, 255, 0.06);

    border-radius: 12px;
}


.tab {
    flex: 1;

    padding: 13px;

    border: none;

    border-radius: 9px;

    background: transparent;

    color: #999;

    font-size: 15px;

    cursor: pointer;

    transition: 0.3s;
}


.tab.active {
    background: #6366f1;

    color: white;

    box-shadow:
        0 5px 20px rgba(99, 102, 241, 0.4);
}


/* Forms */

.form {
    display: none;

    animation: fadeIn 0.4s ease;
}


.form.active {
    display: block;
}


@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Заголовки */

.form h2 {
    font-size: 30px;

    margin-bottom: 10px;
}


.form-description {
    color: #888;

    margin-bottom: 30px;
}


/* Inputs */

.input-group {
    margin-bottom: 20px;
}


.input-group label {
    display: block;

    margin-bottom: 8px;

    color: #bbb;

    font-size: 14px;
}


.input-group input {
    width: 100%;

    padding: 15px 16px;

    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(255, 255, 255, 0.06);

    color: white;

    outline: none;

    font-size: 15px;

    transition: 0.3s;
}


.input-group input::placeholder {
    color: #666;
}


.input-group input:focus {
    border-color: #6366f1;

    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.15);
}


/* Options */

.form-options {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

    font-size: 13px;
}


.remember {
    color: #888;

    display: flex;

    gap: 7px;

    align-items: center;
}


.form-options a {
    color: #818cf8;

    text-decoration: none;
}


/* Terms */

.terms {
    display: flex;

    gap: 8px;

    align-items: center;

    color: #888;

    font-size: 12px;

    margin-bottom: 20px;
}


/* Button */

.submit-btn {
    width: 100%;

    padding: 16px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #6366f1,
            #8b5cf6
        );

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}


.submit-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(99, 102, 241, 0.4);
}


.submit-btn:active {
    transform: translateY(0);
}


/* Bottom text */

.bottom-text {
    text-align: center;

    color: #777;

    font-size: 14px;

    margin-top: 25px;
}


.bottom-text span {
    color: #818cf8;

    cursor: pointer;

    font-weight: bold;
}


/* Notification */

.notification {
    position: fixed;

    top: 25px;

    right: 25px;

    padding: 16px 25px;

    border-radius: 12px;

    background: #15182b;

    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4);

    transform: translateX(150%);

    transition: 0.4s;

    z-index: 100;
}


.notification.show {
    transform: translateX(0);
}


/* Адаптивность */

@media (max-width: 800px) {

    .auth-box {
        flex-direction: column;
    }

    .welcome-section {
        width: 100%;

        padding: 40px;
    }

    .welcome-content h1 {
        font-size: 35px;
    }

    .form-section {
        width: 100%;

        padding: 35px 25px;
    }

}


@media (max-width: 450px) {

    body {
        padding: 10px;
    }

    .welcome-section {
        padding: 30px;
    }

    .form-section {
        padding: 25px 20px;
    }

    .form h2 {
        font-size: 25px;
    }

}
