/* Join Page Styles */
.join-page {
    padding: 3rem 0 3rem;
    background: #ffffff;
    min-height: auto;
    margin: 0;
    width: 100%;
}

.join-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.join-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

.join-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
}

.join-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #3b82f6 20%, #10b981 50%, #3b82f6 80%, transparent 100%);
    border-radius: 2px;
}

.join-header p {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    position: relative;
    padding-bottom: 2rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-header p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.2) 20%, rgba(16, 185, 129, 0.3) 50%, rgba(59, 130, 246, 0.2) 80%, transparent 100%);
}

.form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-label .required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    background: white;
    color: #1e293b;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-hint {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-hint svg {
    width: 16px;
    height: 16px;
    color: #3b82f6;
    flex-shrink: 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.checkbox-group label {
    flex: 1;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-group .required {
    color: #ef4444;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

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

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

.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 2px solid #10b981;
}

.alert-success svg {
    color: #10b981;
}

.alert-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 2px solid #ef4444;
}

.alert-error svg {
    color: #ef4444;
}

.section-divider {
    margin: 2rem 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 90px;
    right: 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    min-width: 320px;
    max-width: 500px;
    animation: slideDown 0.4s ease-out, fadeOut 0.3s ease-in 4.7s forwards;
    transform: translateX(0);
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.toast-notification svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: white;
}

.toast-notification-content {
    flex: 1;
}

.toast-notification-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.toast-notification-message {
    font-size: 0.9rem;
    opacity: 0.95;
}

    @media (max-width: 768px) {
        .toast-notification {
            right: 1rem;
            left: 1rem;
            min-width: auto;
            max-width: none;
        }

        .join-header h1 {
            font-size: 2rem;
        }

        .form-card {
            padding: 2rem 1.5rem;
        }

        .join-page {
            padding: 2rem 0 2rem;
        }
    }
