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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #10141d;
    font-family: Arial, sans-serif;
    color: #f0f3fa;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 390px;
    background: #1b2330;
    padding: 36px 30px;
    border-radius: 14px;
    border: 1px solid #303c4d;
    box-shadow: 0 15px 45px rgba(0,0,0,.35);
}

.logo {
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: #26344b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8eb8ff;
    font-size: 27px;
}

h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 9px;
}

.subtitle {
    text-align: center;
    color: #8995a8;
    font-size: 13px;
    margin-bottom: 30px;
}

label {
    display: block;
    font-size: 13px;
    color: #aebbd0;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 13px;
    margin-bottom: 20px;
    border: 1px solid #354357;
    border-radius: 7px;
    background: #111923;
    color: #dce5f2;
    font-size: 14px;
    outline: none;
}

input:focus {
    border-color: #638fce;
}

input::placeholder {
    color: #69788d;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 85px;
}

#togglePassword {
    position: absolute;
    right: 8px;
    top: 0;
    width: auto;
    height: 42px;
    padding: 0 8px;
    background: transparent;
    color: #8eb8ff;
    font-size: 12px;
    opacity: 1;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 7px;
    background: #456ca8;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

#loginButton:hover {
    background: #527dbb;
}

#message {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #ef7777;
}

.footer {
    text-align: center;
    margin-top: 26px;
    color: #75849a;
    font-size: 11px;
}

