/* public/css/roblox-clone.css */

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

body {
    font-family: "Gotham SSm", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, #232527 0%, #393b3d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

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

.login-card {
    background: #393b3d;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.login-card h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #57585a;
    border-radius: 4px;
    background: #232527;
    color: #fff;
    font-size: 14px;
}

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

.form-group input::placeholder {
    color: #898989;
}

.error-text {
    color: #ff4444;
    font-size: 12px;
    min-height: 18px;
    display: block;
}

#login-button {
    width: 100%;
    padding: 12px;
    background: #00b06f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#login-button:hover {
    background: #00994d;
}

#login-button:disabled {
    background: #57585a;
    cursor: not-allowed;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #57585a;
    border-top-color: #00b06f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.login-options {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.option-btn {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: 1px solid #57585a;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.option-btn:hover {
    background: #57585a;
}

.signup-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #898989;
}

.signup-link a {
    color: #00b06f;
    text-decoration: none;
}

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

.modal-content {
    background: #393b3d;
    border-radius: 8px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 16px;
}

.modal-content p {
    margin-bottom: 16px;
    color: #898989;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #57585a;
    border-radius: 4px;
    background: #232527;
    color: #fff;
    font-size: 18px;
    text-align: center;
    letter-spacing: 8px;
}

.modal-content button {
    padding: 12px 24px;
    margin: 4px;
    background: #00b06f;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-content button:hover {
    background: #00994d;
}
