@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    touch-action: manipulation;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(168, 85, 247, .25), transparent 35%),
        linear-gradient(135deg, #050008, #100019, #210033);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: #fff;
    overflow-x: hidden;
}

.modal-login {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: #14091f;
    border-radius: 6px;
    padding: 34px 26px 38px;
    box-shadow: 0 35px 100px rgba(0,0,0,.65);
    border: 1px solid rgba(168, 85, 247, .10);
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 16px;
    background: transparent;
    border: none;
    color: #b9a8c9;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    font-weight: 700;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 24px;
}

.logo-icon {
    color: #c026d3;
    font-size: 26px;
    transform: rotate(180deg);
}

.logo-text {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
}

.modal-login h1 {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 28px;
}

input {
    width: 100%;
    height: 52px;
    border: none;
    outline: none;
    border-radius: 5px;
    background: #0d0616;
    color: #fff;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

input::placeholder {
    color: #b7a4c8;
    font-size: 13px;
    font-weight: 800;
    text-transform: capitalize;
}

input:focus {
    box-shadow: 0 0 0 2px rgba(192, 38, 211, .55);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 54px;
}

.eye {
    position: absolute;
    right: 20px;
    top: 17px;
    color: #776587;
    font-size: 13px;
}

.forgot {
    display: inline-block;
    color: #9d8bab;
    text-decoration: none;
    font-size: 13px;
    margin: -4px 0 28px;
}

.captcha-box {
    height: 66px;
    border: 1px solid rgba(255,255,255,.85);
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    margin-bottom: 30px;
    position: relative;
}

.check {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

.captcha-box span {
    font-size: 16px;
}

.captcha-box small {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #7e22ce, #c026d3, #e879f9);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.submit-btn:hover {
    filter: brightness(1.08);
}

.submit-btn span {
    margin-left: 14px;
    font-size: 18px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 25px 0;
}

.divider span {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.10);
}

.divider p {
    color: #9d8bab;
    font-size: 13px;
}

.register-text {
    text-align: center;
    color: #b7a4c8;
    font-size: 13px;
}

.register-text a {
    color: #f0abfc;
    font-weight: 800;
    text-decoration: none;
}

.msg {
    padding: 13px;
    border-radius: 5px;
    margin-bottom: 18px;
    background: rgba(239,68,68,.14);
    border: 1px solid rgba(239,68,68,.25);
    color: #fecaca;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 480px) {
    .modal-login {
        max-width: 100%;
        padding: 32px 24px 36px;
    }

    input {
        font-size: 16px;
    }
}