/* ===========================
   Signup Page Wrapper
=========================== */
.signup {
    padding-top: 120px;
    padding-bottom: 80px;
    background: #fff;
}

/* Reuse same card style as login */
.signup .login-part {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 45px 35px;
    border-radius: 32px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Title */
.signup .title_style {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #111;
}

/* Form groups */
.signup .login-form .form-group {
    margin-bottom: 20px;
}

/* Labels */
.signup .login-form label {
    position: static !important;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #888;
    font-size: 0.9rem;
}

/* Inputs (important for Django fields) */
.signup .login-form input,
.signup .login-form select,
.signup .login-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #eee;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

/* Focus state */
.signup .login-form input:focus,
.signup .login-form select:focus,
.signup .login-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* Button */
.signup .btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    background: #111;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    justify-content: center;
    margin-top: 15px;
}

.signup .btn-primary:hover {
    cursor: pointer;
    background: #26384b;
}

/* Error messages */
.signup .error {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #e74c3c;
}

/* Links */
.signup a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Bottom paragraph */
.signup p {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.grecaptcha-badge{
    visibility: hidden !important;
}


/* ================================
   ALERT CONTAINER
================================ */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    width: 100%;
}

/* ================================
   ALERT BANNER
================================ */
.alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================
   ALERT TYPES
================================ */
.alert-error {
    background: #fff5f5;
    border-left: 4px solid #e74c3c;
}

.alert-error .alert-icon {
    color: #e74c3c;
}

.alert-success {
    background: #f0faf4;
    border-left: 4px solid #27ae60;
}

.alert-success .alert-icon {
    color: #27ae60;
}

.alert-warning {
    background: #fffbf0;
    border-left: 4px solid #f39c12;
}

.alert-warning .alert-icon {
    color: #f39c12;
}

.alert-info {
    background: #f0f7ff;
    border-left: 4px solid #3498db;
}

.alert-info .alert-icon {
    color: #3498db;
}

/* ================================
   ALERT PARTS
================================ */
.alert-icon {
    font-size: 18px;
    margin-top: 1px;
    min-width: 20px;
}

.alert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.alert-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.alert-message {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.alert-close {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-top: 1px;
    transition: color 0.2s;
    min-width: 16px;
}

.alert-close:hover {
    color: #555;
}

/* ================================
   FIELD ERROR
================================ */
.field-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    font-size: 12px;
    color: #e74c3c;
    background: #fff5f5;
    padding: 5px 10px;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

.field-error i {
    font-size: 12px;
    min-width: 12px;
}
/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
    .signup {
        padding-top: 100px;
    }

    .signup .login-part {
        margin: 0 15px;
        padding: 25px;
        border-radius: 24px;
    }

    .signup .title_style {
        font-size: 1.5rem;
    }
}