/* --- Unique Variables for this Popup only --- */
:root {
    --cc-gradient-bg: linear-gradient(135deg, #FFDEE9 0%, #B5FFFC 100%);
    --cc-btn-gradient: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    --cc-glass-bg: rgba(255, 255, 255, 0.98);
    --cc-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* --- BUTTON STYLE --- */
/* --- EXACT BUTTON STYLE (Small & Blue) --- */
.shine-btn {
    /* Layout & Spacing */
    padding: 8px 20px;       /* px-5 py-2 equivalent */
    border-radius: 9999px;   /* rounded-full */
    border: none;
    cursor: pointer;
    
    /* Colors */
    background-color: #2563eb; /* bg-blue-600 */
    color: white;            /* text-white */
    
    /* Typography */
    font-size: 11px;         /* text-[11px] */
    font-weight: 700;        /* font-bold */
    text-transform: uppercase; /* uppercase */
    letter-spacing: 0.1em;   /* tracking-widest */
    font-family: sans-serif;
    
    /* Effects */
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3); /* shadow-lg */
    transition: all 0.3s ease; /* transition-all */
}

/* Hover State */
.shine-btn:hover {
    background-color: #1d4ed8; /* hover:bg-blue-700 */
    box-shadow: 0 10px 20px -2px rgba(37, 99, 235, 0.5); /* hover:shadow */
    transform: translateY(-1px);
}

/* Active (Click) State */
.shine-btn:active {
    transform: scale(0.95); /* active:scale-95 */
}

/* Mobile Visibility (Optional: Agar mobile pe chupana ho to ye use kare) */
/* @media (max-width: 768px) { .shine-btn { display: none; } } */
/* --- MODAL OVERLAY --- */
.popup-overlay {
    display: none;
    position: fixed; z-index: 9999; /* High z-index to stay on top */
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

/* --- POPUP CONTENT --- */
.popup-content {
    background: var(--cc-glass-bg);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 16px;
    width: 90%; max-width: 420px;
    box-shadow: var(--cc-shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 95vh;
    overflow-y: auto;
    font-family: 'Poppins', sans-serif; /* Font fix */
    box-sizing: border-box;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* --- CLOSE BUTTON --- */
.close-btn {
    float: right; font-size: 22px;
    background: rgba(255, 255, 255, 0.5); 
    width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease;
    margin-top: -10px; margin-right: -10px;
    color: #555;
    border: 1px solid rgba(255,255,255,0.8);
}
.close-btn:hover { 
    background: var(--cc-gradient-bg);
    color: #2575fc; border-color: transparent;
    animation: spinAround 1s linear infinite; 
}
@keyframes spinAround { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.popup-header h2 {
    margin: 0 0 5px 0;
    background: -webkit-linear-gradient(#6a11cb, #2575fc);
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    font-size: 24px; font-weight: 700;
}
.popup-header p { color: #666; font-size: 13px; margin-bottom: 20px; margin-top: 0; }

/* --- FORM FIELDS --- */
.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: #444; font-size: 13px; }

.form-group input, .form-group textarea, .selectBoxWrapper {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid #e1e5ee; border-radius: 10px;
    box-sizing: border-box; font-family: inherit; font-size: 14px;
    background-color: #f9faff;
    transition: all 0.2s ease;
    caret-color: #2575fc;
}
.selectBoxWrapper { cursor: pointer !important; display: flex; align-items: center; position: relative; min-height: 42px; }

.selectBoxWrapper::after {
    content: ''; position: absolute; right: 15px; top: 50%; 
    width: 8px; height: 8px; border-right: 2px solid #666; border-bottom: 2px solid #666;
    transform: translateY(-70%) rotate(45deg); pointer-events: none; transition: 0.2s;
}
.selectBoxWrapper.active-border::after { transform: translateY(-30%) rotate(-135deg); }

.form-group input:focus, .form-group textarea:focus, 
.selectBoxWrapper:focus-within, .selectBoxWrapper.active-border {
    outline: none; border-color: #2575fc; background-color: #fff;
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.1);
}

/* --- DROPDOWN LIST --- */
.multiselect { width: 100%; position: relative; }
#checkboxes {
    display: none; border: 1px solid #eee; border-radius: 10px;
    max-height: 150px; overflow-y: auto; background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: absolute; width: 100%; z-index: 100; margin-top: 5px;
}
#checkboxes label {
    display: flex; align-items: center; padding: 10px 14px; cursor: pointer;
    border-bottom: 1px solid #f9f9f9; font-size: 13px; color: #555;
    margin: 0; /* Important for existing site reset */
}
#checkboxes label:hover { background-color: #f0f4ff; color: #2575fc; }
#checkboxes input { width: 16px; height: 16px; margin-right: 10px; accent-color: #2575fc; }

/* --- TAGS --- */
#tagsContainer { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    color: #2b3a55; padding: 4px 12px; border-radius: 50px; 
    font-size: 11px; font-weight: 600; display: flex; align-items: center;
    animation: popIn 0.3s ease;
}
.remove-tag-btn { margin-left: 6px; cursor: pointer; background: rgba(255,255,255,0.6); width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }

.submit-btn {
    width: 100%; padding: 12px; background: var(--cc-btn-gradient);
    color: white; border: none; border-radius: 10px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    margin-top: 5px; transition: all 0.3s ease;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 117, 252, 0.3); }

/* Scrollbar for popup */
.popup-content::-webkit-scrollbar, #checkboxes::-webkit-scrollbar { width: 5px; }
.popup-content::-webkit-scrollbar-thumb, #checkboxes::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }