* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 138, 0, .22), transparent 35%),
        linear-gradient(135deg, #101010, #222);
    min-height: 100vh;
    color: #111;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 18px;
}

.auth-card {
    width: 100%;
    max-width: 490px;
    background: #fff;
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.auth-logo {
    text-align: center;
    margin-bottom: 18px;
}

.auth-logo img {
    max-width: 170px;
}

.auth-card h1 {
    font-size: 34px;
    font-weight: 950;
    text-align: center;
    margin-bottom: 10px;
}

.auth-card p {
    text-align: center;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.auth-card label {
    font-weight: 850;
    font-size: 14px;
}

.input-group {
    height: 54px;
    border: 1px solid #ddd;
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: #fff;
    transition: .2s ease;
}

.input-group:focus-within {
    border-color: #ff8a00;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, .13);
}

.input-group i {
    color: #ff8a00;
}

.input-group input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
}

.auth-card button,
.main-btn,
.logout-btn {
    height: 54px;
    border: none;
    border-radius: 999px;
    background: #ff8a00;
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    cursor: pointer;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: .2s ease;
}

.auth-card button:hover,
.main-btn:hover {
    background: #e87d00;
    transform: translateY(-1px);
}

.logout-btn {
    background: #111;
}

.logout-btn:hover {
    background: #333;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #555;
    font-size: 15px;
}

.auth-footer a,
.alert.success a {
    color: #ff8a00;
    font-weight: 900;
    text-decoration: none;
}

.back-home {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #444;
    text-decoration: none;
    font-weight: 800;
}

.back-home:hover {
    color: #ff8a00;
}

.alert {
    padding: 14px 16px;
    border-radius: 15px;
    margin-bottom: 18px;
    font-weight: 850;
    font-size: 14px;
    line-height: 1.5;
}

.alert.error {
    background: #ffe5e5;
    color: #b40000;
}

.alert.success {
    background: #e7fff0;
    color: #087b32;
}

.account-box {
    background: #f7f7f7;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

.account-box p {
    margin: 0;
    text-align: left;
    color: #333;
}

@media(max-width: 520px) {
    .auth-card {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .auth-card h1 {
        font-size: 29px;
    }
}
.account-card {
    max-width: 560px;
}

.account-menu {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.account-option {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 16px;
    color: #111;
    text-decoration: none;
    transition: .2s ease;
}

.account-option:hover {
    background: #fff3e6;
    border-color: #ff8a00;
    transform: translateY(-1px);
}

.account-option i {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #ff8a00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.account-option strong {
    display: block;
    font-size: 16px;
    font-weight: 950;
}

.account-option span {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 3px;
}