/* ============================================================
   COMMON PREMIUM COMPONENTS - UNIFIED DESIGN
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --cp-primary:    #0cacee;
    --cp-secondary:  #ea1b24;
    --cp-dark:       #0a2472;
    --cp-accent:     #c9a84c;
    --cp-light-bg:   #f4f7fe;
    --cp-gradient:   linear-gradient(135deg, #0cacee 0%, #ea1b24 100%);
    --cp-shadow:     0 20px 50px rgba(10, 36, 114, 0.15);
}

/* ===================== COMMON HEADER ===================== */

.premium-page-header {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 50px 0 40px; 
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(10, 36, 114, 0.05);
}

.premium-page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(12, 172, 238, 0.04), transparent 70%);
    border-radius: 50%;
}

.premium-page-header .subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--cp-primary);
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.premium-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--cp-dark);
    margin-bottom: 15px;
}

.premium-page-header h1 span {
    color: var(--cp-primary);
}

.premium-page-header .hp-title-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #0cacee, #0a2472);
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* ===================== BREADCRUMBS ===================== */

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    list-style: none !important;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb-custom li {
    list-style: none !important;
}

.breadcrumb-custom li::before {
    display: none !important;
}

.breadcrumb-custom a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-custom a:hover { color: var(--cp-primary); }

.breadcrumb-custom .active { color: var(--cp-dark); }

/* ===================== PREMIUM BUTTONS ===================== */

.btn-ap-primary {
    background: var(--cp-gradient);
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(10, 36, 114, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    width: fit-content;
}

.btn-ap-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(10, 36, 114, 0.35);
    color: #fff !important;
}

/* Premium Nav Button */
.premium-nav-btn {
    background: var(--cp-gradient) !important;
    color: #fff !important;
    padding: 10px 22px ;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 13px ;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    align-self: center !important;
    margin-left: 15px ;
    box-shadow: 0 5px 15px rgba(12, 172, 238, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.premium-nav-btn:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(12, 172, 238, 0.5) !important;
    color: #fff !important;
}

.premium-nav-btn i {
    font-size: 14px;
}

@media (max-width: 991px) {
    .premium-nav-btn {
        margin: 15px 0 !important;
        width: fit-content !important;
        background: var(--cp-primary) !important;
    }
}

@media (max-width: 768px) {
    .premium-page-header { padding: 40px 0 30px; }
    .premium-page-header h1 { font-size: 24px; }
    .premium-page-header .subtitle {
    font-size: 10px;

}
}
/* ===================== PREMIUM PROFILE MENU ===================== */
.premium-profile-menu {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    z-index: 1000 !important;
    margin-left: 20px !important;
    height: auto !important;
}

.profile-trigger-btn {
    background: #fff !important;
    color: #0a2472 !important;
    border: 1px solid rgba(10, 36, 114, 0.15) !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(10, 36, 114, 0.05) !important;
    outline: none !important;
    white-space: nowrap !important;
    height: auto !important;
}

.profile-trigger-btn:hover {
    border-color: #0cacee !important;
    box-shadow: 0 8px 25px rgba(10, 36, 114, 0.1) !important;
}

.profile-trigger-btn i {
    color: #0cacee !important;
    font-size: 18px !important;
}

.auth-buttons-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.luxury-login-btn-new {
    background: linear-gradient(135deg, #0cacee 0%, #0a2472 100%);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 36, 114, 0.2);
}

.luxury-login-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 36, 114, 0.3);
}

.luxury-signup-btn-new {
    background: transparent;
    color: #0cacee;
    border: 2px solid #0cacee;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.luxury-signup-btn-new:hover {
    background: #0cacee;
    color: #fff;
    transform: translateY(-2px);
}

.profile-dropdown-content {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0px !important;
    left: auto !important;
    background: #fff !important;
    min-width: 220px !important;
    border-radius: 20px !important;
    overflow: visible !important;
    box-shadow: 0 15px 50px rgba(10, 36, 114, 0.15) !important;
    z-index: 999999 !important;
    border: 1px solid rgba(165, 160, 89, 0.1) !important;
    animation: dropdownUp 0.3s ease forwards !important;
    padding: 10px 0 !important;
    flex-direction: column !important;
    margin-top: 12px !important;
}

/* Hover Bridge: Essential to prevent dropdown from closing when moving mouse */
.premium-profile-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    z-index: 9999;
}

.profile-dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 25px;
    width: 15px;
    height: 15px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(165, 160, 89, 0.1);
    border-top: 1px solid rgba(165, 160, 89, 0.1);
    z-index: -1;
}

.premium-profile-menu:hover .profile-dropdown-content {
    display: flex !important;
}

.profile-dropdown-content a {
    color: #475569 !important;
    padding: 12px 25px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    width: 100% !important;
}

.profile-dropdown-content a i {
    width: 20px !important;
    color: #0cacee !important;
    font-size: 16px !important;
    text-align: center !important;
}

.profile-dropdown-content a:hover {
    background: #f4f7fe !important;
    color: #0a2472 !important;
    padding-left: 30px !important;
}

.dropdown-divider {
    height: 1px !important;
    background: #f1f5f9 !important;
    margin: 8px 15px !important;
    display: block !important;
}

.logout-link:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.logout-link i { color: #ef4444 !important; }

/* ============================================================
   PREMIUM ENQUIRY MODAL (POPUP) REDESIGN
   ============================================================ */

.popup {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 36, 114, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: #ffffff;
    margin: auto;
    padding: 40px;
    border: none;
    width: 90%;
    max-width: 650px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    animation: modalSlide 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes modalSlide {
    0% { transform: scale(0.9) translateY(30px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #0a2472;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f4f7fe;
    border-radius: 50% !important;
}

.close-btn:hover {
    background: #ea1b24 !important;
    color: #fff !important;
    transform: rotate(90deg);
}

.popup-content .header-container {
    text-align: center;
    margin-bottom: 30px;
}

.popup-content .header-container img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.popup-content .header-container h2.spec-tags {
    color: #0a2472;
    font-size: 24px;
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.popup-content .brand-info {
    text-align: center;
    margin-bottom: 25px;
}

.popup-content .brand-info h7 {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444 !important;
}

.popup-content .form-floating > .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.popup-content .form-floating > .form-control:focus {
    border-color: #0cacee;
    box-shadow: 0 0 0 4px rgba(12, 172, 238, 0.1);
    background: #fff;
}

.popup-content #captcha {
    background: #f0f4f8;
    color: #0cacee;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 4px;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed #cbd5e1;
    margin-bottom: 10px;
    user-select: none;
}

.popup-content #refresh-captcha {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    margin-bottom: 8px;
    display: inline-block;
    transition: all 0.3s;
}

.popup-content #refresh-captcha:hover {
    color: #ea1b24 !important;
}

.popup-content .btn-primary {
    background: linear-gradient(135deg, #0cacee 0%, #0a2472 100%) !important;
    border: none !important;
    padding: 14px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 10px 20px rgba(12, 172, 238, 0.2) !important;
}

.popup-content .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px rgba(12, 172, 238, 0.4) !important;
}

/* Auth Modal Redesign */
#exampleModal .modal-content {
    background: #ffffff;
    border: none;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.auth-sidebar {
    background: linear-gradient(135deg, #0cacee 0%, #0a2472 100%);
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 60%);
    z-index: 1;
}

.auth-sidebar-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    color: #fff;
    text-align: center;
}

#authTabContent .tab-pane {
    animation: fadeInSlide 0.4s ease-out forwards;
}

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

.otp-digit {
    width: 48px !important;
    height: 60px !important;
    border: 2px solid #f0f2f5 !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0cacee !important;
    background: #f8fafc !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.otp-digit:focus {
    border-color: #0cacee !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(12, 172, 238, 0.1) !important;
    outline: none !important;
    transform: scale(1.05);
}

.btn-primary-auth {
    background: linear-gradient(135deg, #0cacee 0%, #0a2472 100%) !important;
    border: none !important;
    color: #fff !important;
    padding: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(12, 172, 238, 0.25) !important;
    transition: all 0.3s ease !important;
}

.btn-primary-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(12, 172, 238, 0.35) !important;
}

.pulse-success {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.auth-brand-badge {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.otp-input-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 25px;
}
@media(max-width:1252px){

.navbar-brand img {
    height: 30px;
}
.luxury-login-btn-new {
    font-size: 10px;
}
.premium-nav-btn {
    padding: 10px 12px;
    font-size: 10px ;
;
}
}