
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #000000;
    color: white;
    min-height: 100vh;
    line-height: 1.5;
}

.stars::before {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 2 2" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="white"/></svg>');
    background-size: 1px 1px;
    opacity: 0.3;
    animation: twinkle 10s infinite;
}


.auth-container {
    max-width: 440px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.auth-box {
    background: rgba(124, 123, 123, 0.3);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

h1 {
    margin: 0 0 16px;
    font-size: 32px;
    text-align: center;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #cbd5e1;
    margin: 0 0 32px;
    font-size: 18px;
}

.user-type-toggle {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.toggle-btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn[data-type="affiliate"] {
    background: #1E88E5;
    color: white;
}

.toggle-btn[data-type="affiliate"]:hover {
    background: #1976D2;
}

.toggle-btn[data-type="advertiser"] {
    background: #FF9800;
    color: white;
}

.toggle-btn[data-type="advertiser"]:hover {
    background: #F57C00;
}

.toggle-btn:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
}

input {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #1E88E5;
    background: rgba(255, 255, 255, 0.1);
}

input::placeholder {
    color: #94a3b8;
}

.submit-btn {
    margin-top: 8px;
    background: #1E88E5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1976D2;
    transform: translateY(-1px);
}

[data-type="advertiser"] ~ form .submit-btn {
    background: #FF9800;
}

[data-type="advertiser"] ~ form .submit-btn:hover {
    background: #F57C00;
}

/* Add these styles to your existing CSS */
.error-label {
    color: #ff4d4f;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255, 77, 79, 0.1);
    border-radius: 8px;
    display: none;
    text-align: center;
}

.error-label.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.switch-auth {
    text-align: center;
    margin-top: 32px;
    color: #cbd5e1;
    font-size: 15px;
}

.switch-auth a {
    color: #1E88E5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.switch-auth a:hover {
    color: #1976D2;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .auth-container {
        padding: 20px;
    }

    .auth-box {
        padding: 24px;
    }

    h1 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 16px;
    }

    .toggle-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}   