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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fef7f0 0%, #fff5f8 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* .logo {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.logo::before {
    content: "🔥";
    font-size: 20px;
} */

.back-link {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #FF7A44;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.signup-container {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 550px;
    width: 100%;
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF7A44, #e66a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(255,122,68,0.3);
    position: relative;
}

.brand-icon::before {
    content: "🔥";
}

.brand-icon::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #FF7A44, #e66a3a);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
}

.signup-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.signup-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Sign in link */
.signin-link {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.signin-link a {
    color: #FF7A44;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.signin-link a:hover {
    text-decoration: underline;
}

.google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 20px;
}

.google-button:hover {
    border-color: #FF7A44;
    box-shadow: 0 5px 20px rgba(255,122,68,0.2);
    transform: translateY(-1px);
}

.google-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.google-icon {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%234285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/><path fill="%2334A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="%23FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="%23EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/></svg>') center/contain no-repeat;
}

.divider {
    margin: 20px 0;
    position: relative;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 15px;
}

/* Form Styles */
.signup-form {
    text-align: left;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #FF7A44;
}

.form-input {
    width: 100%;
    padding: 15px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #FF7A44;
    background: white;
    box-shadow: 0 0 0 3px rgba(255,122,68,0.1);
}

.form-input.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.form-input::placeholder {
    color: #999;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.signup-btn {
    width: 100%;
    padding: 15px;
    background: #FF7A44;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.signup-btn:hover:not(:disabled) {
    background: #e66a3a;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(255,122,68,0.3);
}

.signup-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.signup-btn:active {
    transform: translateY(0);
}

.terms-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-top: 30px;
    text-align: center;
}

.terms-text a {
    color: #FF7A44;
    text-decoration: none;
}

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

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .signup-container {
        padding: 40px 30px;
        margin: 20px;
    }

    .signup-title {
        font-size: 2rem;
    }

    .signup-subtitle {
        font-size: 1rem;
    }

    .brand-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}