﻿.login-page {
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", sans-serif;
}

/* CARD */
.login-card {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, #161d2c, #1a2133);
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* HEADER */
.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff1616;
    font-weight: 700;
    text-decoration: none;
}

    .brand i {
        font-size: 22px;
    }

.login-header h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

/* INPUTS */
.input-group-custom {
    margin-bottom: 15px;
}

.custom-input {
    width: 100%;
    height: 55px;
    background: #000 !important;
    border: none !important;
    border-radius: 4px;
    padding: 0 15px;
    color: #c9d2ef;
}

    .custom-input::placeholder {
        color: #6f7a99;
    }

    .custom-input:focus {
        border: 1px solid #ff1616 !important;
        outline: none;
    }

/* OPTIONS */
.login-options {
    display: flex;
    justify-content: space-between;
    margin: 15px 0 25px;
}

.remember-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6f7a99;
}

.custom-checkbox {
    background: #000;
    border: 1px solid #000;
}

    .custom-checkbox:checked {
        background: #ff1616;
    }

.forgot-link {
    color: #ff1616;
    text-decoration: none;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

/* BUTTON */
.login-btn {
    width: 100%;
    height: 55px;
    background: #ff1616;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

    .login-btn:hover {
        background: #e31212;
        transform: translateY(-1px);
    }

    .login-btn:active {
        transform: scale(0.98);
    }

/* SIGNUP */
.signup-text {
    text-align: center;
    margin-top: 20px;
    color: #6f7a99;
}

    .signup-text a {
        color: #ff1616;
        font-weight: 600;
        text-decoration: none;
    }

        .signup-text a:hover {
            text-decoration: underline;
        }

/* ERRORS */
.small-error {
    font-size: 12px;
    margin-top: 5px;
}
.content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 576px) {

    .login-page {
        padding: 16px;
       /* align-items: flex-start;*/ /* щоб не прилипав по центру */
    }

    .login-card {
        width: 100%;
        max-width: 100%;
        padding: 40px;
        margin: 40px 0;
    }

    .login-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .login-btn {
        height: 50px;
    }
}