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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-box {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #0f3460;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.auth-box h1 {
    color: #00d4ff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.auth-box h2 {
    color: #aaa;
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #1a1a2e;
    border: 2px solid #0f3460;
    border-radius: 5px;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #00d4ff;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.error-message {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    color: #ff6666;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    min-height: 20px;
}

.error-message:empty {
    display: none;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: #00d4ff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #00a8cc;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #aaa;
    font-size: 14px;
}

.auth-link a {
    color: #00d4ff;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Custom Modal */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.custom-modal.show {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border: 3px solid #0f3460;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 0 20px rgba(15, 52, 96, 0.5);
}

.modal-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.5;
}

.modal-content button {
    padding: 12px 30px;
    background: #00d4ff;
    color: #000;
    border: 2px solid #00a8cc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    transition: background 0.3s;
}

.modal-content button:hover {
    background: #00a8cc;
}
