﻿.login-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
}

.login-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #2378b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .login-icon i {
        color: white;
        font-size: 28px;
    }

.login-box h2 {
    margin: 0 0 10px;
    color: #333;
}

.login-box p {
    color: #666;
    font-size: 14px;
    margin-bottom: 22px;
}

.login-field {
    height: 48px;
    border: 1px solid #ddd;
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    margin-bottom: 12px;
    background: #fff;
}

    .login-field i {
        color: #666;
        text-align: center;
    }

    .login-field input {
        width: 100%;
        height: 46px;
        border: none;
        outline: none;
        padding: 0 12px;
        box-sizing: border-box;
    }

.btn-login-page {
    width: 100%;
    height: 46px;
    border: none;
    background: #2378b8;
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 8px;
}

    .btn-login-page:hover {
        background: #1c669d;
    }

.msg-login {
    color: #d60000;
    font-size: 13px;
    margin: 8px 0 12px;
}

.login-link {
    display: block;
    margin-top: 16px;
    color: #2378b8;
    text-decoration: none;
    font-size: 14px;
}

    .login-link.secondary {
        color: #777;
    }

@media (max-width: 768px) {
    .login-box {
        padding: 22px;
    }
}


.register-box {
    max-width: 560px;
}

.register-input {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    padding: 0 12px;
    box-sizing: border-box;
    margin-bottom: 10px;
    background: #fff;
}

.register-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.register-check {
    margin: 10px 0 12px;
    justify-content: flex-start;
    text-align: left;
}

    .register-check input {
        width: 20px;
        height: 20px;
    }

@media (max-width: 768px) {
    .register-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.phone-wrapper {
    width: 100%;
    margin-bottom: 10px;
}

.phone-wrapper {
    width: 100%;
    margin-bottom: 10px;
}

    .phone-wrapper .iti {
        width: 100%;
        display: block;
    }

        .phone-wrapper .iti input,
        .phone-wrapper input {
            width: 100% !important;
            height: 46px;
            border: 1px solid #ddd;
            box-sizing: border-box;
        }

.iti {
    width: 100% !important;
}