/* User Registration & Auth Styles */
:root {
    --auth-primary: #4f46e5;
    --auth-primary-hover: #4338ca;
    --auth-success: #10b981;
    --auth-error: #ef4444;
    --auth-bg: #f8fafc;
    --auth-text: #1e293b;
    --auth-text-muted: #64748b;
    --auth-glass: rgba(255, 255, 255, 0.95);
}

.mas-signup-container {
    min-height: 100vh;
    background-color: #f3f4f6;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.mas-signup-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 20px 48px rgba(0, 0, 0, 0.05);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.mas-signup-header {
    background: transparent;
    color: var(--auth-text);
    padding: 48px 40px 24px;
    text-align: center;
}

.mas-signup-header h2 {
    margin: 0 0 12px 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #111827;
}

.mas-signup-header p {
    margin: 0;
    color: var(--auth-text-muted);
    font-size: 16px;
    line-height: 1.5;
}

.mas-registration-form {
    padding: 0 40px 48px;
}

.mas-form-group {
    margin-bottom: 24px;
}

.mas-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
}

.mas-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background: #fff;
}

.mas-form-input:focus {
    outline: none;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.mas-form-helper {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: var(--auth-text-muted);
}

.mas-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
}

.mas-checkbox input {
    margin-right: 12px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    accent-color: var(--auth-primary);
}

.mas-form-error {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.mas-btn {
    display: inline-block;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.mas-btn-blue {
    background: var(--auth-primary);
    color: white;
}

.mas-btn-blue:hover {
    background: var(--auth-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.mas-btn-large {
    width: 100%;
}

.mas-register-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: var(--auth-text-muted);
}

.mas-register-footer a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 700;
}

.mas-register-footer a:hover {
    text-decoration: underline;
}

.mas-alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.mas-alert-success {
    background: #ecfdf5;
    border: 1.5px solid #d1fae5;
    color: #065f46;
}

/* Auth View Switcher Animations */
.mas-signup-card {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom UI for Tab Switching (if needed) */
.mas-auth-toggle {
    transition: color 0.2s;
}

.mas-auth-toggle:hover {
    color: var(--auth-primary-hover) !important;
}