* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.back-link {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 32px;
    font-size: 14px;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.7;
}

.auth-box {
    border: 1px solid #2a2a2a;
    padding: 60px;
    background: #0a0a0a;
}

.logo {
    text-align: center;
    margin-bottom: 48px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

.logo-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.logo h1 {
    font-size: 24px;
    letter-spacing: 4px;
    font-weight: 900;
}

h2 {
    text-align: center;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 40px;
    font-weight: 700;
}

.message {
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
    font-size: 14px;
    display: none;
    border: 1px solid;
}

.message.error {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    color: #ff0000;
}

.message.success {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    color: #00ff00;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #999999;
}

input {
    width: 100%;
    padding: 16px;
    background: #000000;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: #ffffff;
}

input::placeholder {
    color: #666666;
}

.btn {
    width: 100%;
    padding: 18px;
    background: #ffffff;
    color: #000000;
    border: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 16px;
}

.btn:hover {
    background: #f5f5f5;
}

.btn:disabled {
    background: #2a2a2a;
    color: #666666;
    cursor: not-allowed;
}

.footer-text {
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: #999999;
}

.footer-text a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
}

.footer-text a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .auth-box {
        padding: 40px 24px;
    }
}
