/* ========================================
   SIGNUP CSS
   ======================================== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Background Glow */
body::before {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 167, 44, 0.05), transparent 70%);
    top: -200px;
    left: -200px;
    z-index: 0;
    animation: floatGlow 10s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.04), transparent 70%);
    bottom: -100px;
    right: -100px;
    z-index: 0;
    animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* ===== Auth Container ===== */
.signup-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.signup-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Logo ===== */
.signup-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.logo-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f3a72c, #ff6b6b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #f3a72c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text span {
    color: #f3a72c;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* ===== Headings ===== */
.signup-container h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.25rem;
}

.signup-subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ===== Error ===== */
.signup-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    border: 1px solid rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== Form ===== */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.875rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(243, 167, 44, 0.3);
    box-shadow: 0 0 0 3px rgba(243, 167, 44, 0.05);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* ===== Password Toggle ===== */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: color 0.3s;
    padding: 0.25rem;
}

.toggle-password:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Terms ===== */
.terms {
    margin-top: 0.25rem;
}

.terms .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

.terms .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f3a72c;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.terms .checkbox-label a {
    color: #f3a72c;
    text-decoration: none;
}

.terms .checkbox-label a:hover {
    text-decoration: underline;
}

/* ===== Buttons ===== */
.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f3a72c, #ff6b6b);
    color: #000000;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(243, 167, 44, 0.3);
}

/* ===== Footer ===== */
.signup-footer {
    text-align: center;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
}

.signup-footer a {
    color: #f3a72c;
    text-decoration: none;
    font-weight: 500;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 480px) {
    .signup-container {
        padding: 1.5rem;
    }

    .signup-container h1 {
        font-size: 1.5rem;
    }
}