/* ==========================================================================
   Medical Education Institute Lead Generation CSS
   Theme: Clean White Background with #800080 Royal Purple Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-purple: #800080;
    --primary-dark: #1f0524;
    --bg-light: #ffffff;
    --card-shadow: 0 20px 40px -5px rgba(128, 0, 128, 0.12), 0 8px 16px -6px rgba(128, 0, 128, 0.06);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #1f0524;
    overflow-x: hidden;
}

/* Card Styling for Light Theme */
.card-glass {
    background: #ffffff;
    border: 1px solid #e9d5ff;
    box-shadow: 0 25px 50px -12px rgba(128, 0, 128, 0.15);
}

/* Form Controls */
.form-input-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1.5px solid #d8b4fe;
    background-color: #ffffff;
    font-size: 0.95rem;
    color: #1f0524;
    transition: all 0.25s ease;
}

.form-input-custom:focus {
    outline: none;
    border-color: #800080;
    box-shadow: 0 0 0 4px rgba(128, 0, 128, 0.15);
}

.form-input-custom:disabled {
    background-color: #faf5ff;
    color: #800080;
    cursor: not-allowed;
}

/* Select Dropdown Styling */
select.form-input-custom {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2523800080'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* OTP Send Button - Solid #800080 */
.btn-otp-send {
    background-color: #800080 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(128, 0, 128, 0.35);
}

.btn-otp-send:hover:not(:disabled) {
    background-color: #660066 !important;
    box-shadow: 0 6px 18px rgba(128, 0, 128, 0.5);
    transform: translateY(-1px);
}

.btn-otp-send:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Main Submit Button - Solid #800080 */
.btn-submit-main {
    background-color: #800080 !important;
    color: #ffffff !important;
    font-weight: 800;
    padding: 1rem 1.5rem;
    border-radius: 0.85rem;
    font-size: 1.05rem;
    letter-spacing: 0.025em;
    width: 100%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 10px 25px -3px rgba(128, 0, 128, 0.45);
}

.btn-submit-main:hover:not(:disabled) {
    background-color: #660066 !important;
    box-shadow: 0 14px 30px -4px rgba(128, 0, 128, 0.6);
    transform: translateY(-2px);
}

.btn-submit-main:disabled {
    background-color: #e9d5ff !important;
    color: #800080 !important;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Status Badges */
.badge-verified {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 0.5rem 0.85rem;
    border-radius: 0.6rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    animation: fadeIn 0.4s ease-out;
}

/* Checkmark Animation */
@keyframes checkPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.animate-check {
    animation: checkPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Loading Spinner */
.spinner-sm {
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    border-top-color: #ffffff;
    width: 1.1rem;
    height: 1.1rem;
    animation: spin 0.8s linear infinite;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal Popup Overlay */
.modal-overlay {
    background-color: rgba(31, 5, 36, 0.7);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

/* Custom Scrollbar for Dropdown */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #faf5ff;
    border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d8b4fe;
    border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #800080;
}

/* Hide scrollbar for slider */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
