@import url('./common.css');

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, var(--background-color) 0%, #1a1f2e 50%, var(--accent-color) 100%);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
body::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
    z-index: 0;
}

body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

#signup-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.signup-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), #ff8c94);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 0.2rem 0;
    display: inline-block;
    width: 100%;
}

#signup-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 35, 50, 0.9), rgba(40, 45, 60, 0.9));
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#signup-form {
    width: 100%;
    margin-top: 2rem;
}

.name-label {
    margin-top: 0;
    display: block;
}

.label-span {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

.label-span:first-of-type {
    margin-top: 0;
}

#signup-form input {
    display: block;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#signup-form input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

#signup-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#signup-form button {
    margin-top: 2rem;
    border: none;
    outline: none;
    padding: 1rem;
    color: white;
    background: linear-gradient(135deg, var(--accent-color), #ff5252);
    border-radius: 12px;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

#signup-form button:hover {
    background: linear-gradient(135deg, #ff5252, var(--accent-color));
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
    transform: translateY(-2px);
}

#signup-form button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Link to login */
.auth-link {
    margin-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.auth-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.auth-link a:hover {
    color: #ff8c94;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    #signup-panel {
        padding: 2rem;
    }

    .signup-title {
        font-size: 2rem;
    }
}