/* =============================================
   Auth Domain - Login & Registration Styles
   ============================================= */

.auth-view {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.tagline {
    color: var(--text-light);
    margin-bottom: 60px;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.user-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-google {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.btn-google.dark {
    background-color: #111;
    color: #fff;
    border: 1px solid #333;
}

.btn-reset {
    background: #fff0f0;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

.btn-reset:hover {
    background: #ffebee;
}

/* Version info at bottom */
.version-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #aaa;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

/* =============================================
   Invite Code Section (Closed Beta - Jan 2026)
   ============================================= */

.invite-code-section {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.invite-label {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.name-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.name-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.name-input.error {
    border-color: #d32f2f;
    background: #fff5f5;
}

.name-input::placeholder {
    color: #bbb;
}

.name-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.invite-code-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 6px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.2s ease;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.invite-code-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.invite-code-input.error {
    border-color: #d32f2f;
    background: #fff5f5;
}

.invite-code-input::placeholder {
    color: #ccc;
    letter-spacing: 6px;
}

.invite-code-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.code-error {
    color: #d32f2f;
    font-size: 13px;
    display: none;
    text-align: center;
}

.btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.invite-hint {
    color: #999;
    font-size: 13px;
    margin-top: 24px;
}

.invite-hint a {
    color: var(--primary);
    text-decoration: none;
}

.invite-hint a:hover {
    text-decoration: underline;
}