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

/* Apply Outfit font to the application layout */
.modern-layout-body {
    font-family: 'Outfit', sans-serif !important;
    background: radial-gradient(circle at 10% 20%, rgba(255, 237, 237, 0.5) 0%, rgba(244, 246, 249, 1) 90.1%) !important;
    min-height: 100vh;
}

/* Glassmorphism Card Container */
.modern-login-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.06), 
                0 0 1px 1px rgba(0, 0, 0, 0.02) !important;
    padding: 3rem 2.5rem !important;
    max-width: 480px;
    margin: 2.5rem auto;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-login-card:hover {
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Header typography */
.modern-title {
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.5px !important;
}

.modern-subtitle {
    color: #64748b !important;
    font-size: 0.95rem !important;
    margin-bottom: 2rem !important;
}

/* Text links */
.modern-link {
    color: #ff7657 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.modern-link:hover {
    color: #ff542b !important;
    text-decoration: underline !important;
}

/* Radzen Form Field Styles */
.modern-login-card .rz-form-field {
    background-color: rgba(248, 250, 252, 0.8) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 0.25rem 0.5rem !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.25s ease !important;
    margin-bottom: 1.25rem !important;
}

.modern-login-card .rz-form-field:focus-within {
    border-color: #ff8b6a !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 139, 106, 0.15), 
                inset 0 2px 4px rgba(0, 0, 0, 0.01) !important;
}

/* Form Input Controls */
.modern-login-card .rz-textbox, 
.modern-login-card .rz-password {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.75rem 0.5rem !important;
    color: #0f172a !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
}

.modern-login-card .rz-textbox:focus, 
.modern-login-card .rz-password:focus {
    outline: none !important;
}

/* Custom Radzen Icons in Form Fields */
.modern-login-card .rz-form-field-start .rz-icon,
.modern-login-card .rz-form-field-end .rz-icon-button .rz-icon {
    color: #94a3b8 !important;
    font-size: 1.25rem !important;
}

/* Primary Coral Sunset Gradient Button */
.btn-modern-primary {
    background: linear-gradient(135deg, #ff8b6a 0%, #ff5e62 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 0.9rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 8px 24px -6px rgba(255, 94, 98, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.btn-modern-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px -8px rgba(255, 94, 98, 0.5) !important;
    filter: brightness(1.05) !important;
}

.btn-modern-primary:active {
    transform: translateY(1px) !important;
    box-shadow: 0 4px 12px -4px rgba(255, 94, 98, 0.4) !important;
}

/* Social Login Integration */
.social-login-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    margin-top: 1rem !important;
}

.social-login-grid button,
.social-login-grid .social-btn-link {
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    border-radius: 14px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    padding: 0 !important;
    outline: none !important;
}

.social-login-grid button:hover,
.social-login-grid .social-btn-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
}

.social-login-grid button img,
.social-login-grid .social-btn-link img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

/* Security Trust Badges */
.trust-badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
}

.trust-badge i {
    font-size: 1rem;
    color: #10b981; /* Premium Emerald Secure Green */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .modern-login-card {
        padding: 2.25rem 1.75rem !important;
        margin: 1.5rem 1rem !important;
        border-radius: 20px !important;
    }
    
    .social-login-grid {
        gap: 0.75rem !important;
    }
    
    .trust-badges-container {
        gap: 1rem;
    }
}

/* Home Page Revamp Styles */
.modern-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025) !important;
    border: 1px solid rgba(241, 245, 249, 0.9) !important;
    padding: 1.25rem !important;
    margin-bottom: 1.25rem !important;
}

.modern-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
}

.modern-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
}

.modern-card-title i {
    font-size: 1.25rem !important;
    color: #ff8b6a !important;
}

.modern-card-link {
    color: #0284c7 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.modern-card-link:hover {
    opacity: 0.8 !important;
    text-decoration: underline !important;
}

/* Profile Header Card */
.profile-header-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025) !important;
    padding: 1.25rem !important;
    margin-bottom: 1.25rem !important;
    border: 1px solid rgba(241, 245, 249, 0.9) !important;
}

.profile-user-info {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
}

.profile-avatar {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
}

.profile-user-text h4 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.profile-user-text p {
    font-size: 0.8rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

.profile-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.profile-action-btn {
    color: #64748b !important;
    font-size: 1.35rem !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: color 0.2s ease;
    padding: 0 !important;
}

.profile-action-btn:hover {
    color: #1e293b !important;
}

/* Lost Pet Carousel Styles */
.lost-pet-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #f1f5f9 !important;
    padding: 1rem !important;
    position: relative !important;
}

.lost-pet-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1.25rem !important;
}

.lost-pet-avatar {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.lost-pet-info h4 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.lost-pet-info p {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

.lost-pet-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 1.25rem !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 0.75rem 0 !important;
    text-align: center !important;
}

.lost-pet-grid-item {
    display: flex !important;
    flex-direction: column !important;
}

.lost-pet-grid-label {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    margin-bottom: 0.25rem !important;
}

.lost-pet-grid-value {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

.lost-pet-details {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

.lost-pet-detail-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.85rem !important;
    color: #475569 !important;
}

.lost-pet-detail-item i {
    font-size: 1.1rem !important;
    color: #94a3b8 !important;
}

.lost-pet-arrow-btn {
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    z-index: 10 !important;
}

.lost-pet-arrow-btn:hover {
    background-color: #f8fafc !important;
    transform: translateY(-50%) scale(1.05) !important;
    border-color: #cbd5e1 !important;
}

.lost-pet-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
}

.lost-pet-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #e2e8f0 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.lost-pet-dot.active {
    background-color: #facc15 !important;
    width: 18px !important;
    border-radius: 4px !important;
}

/* User Pets horizontal list */
.user-pets-scroll-container {
    display: flex !important;
    overflow-x: auto !important;
    gap: 1.25rem !important;
    padding: 0.25rem 0.1rem 0.5rem 0.1rem !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
}

.user-pets-scroll-container::-webkit-scrollbar {
    display: none !important;
}

.user-pet-avatar-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 72px !important;
    scroll-snap-align: start !important;
}

.user-pet-circle {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.user-pet-add-circle {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: 2px dashed #0066fe !important;
    background-color: #eff6ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01) !important;
}

.user-pet-add-circle:hover {
    border-color: #0052cc !important;
    background-color: #dbeafe !important;
}

.user-pet-add-circle i {
    font-size: 1.25rem !important;
    color: #0066fe !important;
}

.user-pet-name {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-align: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    width: 100% !important;
}

/* News cards horizontal scroll */
.news-scroll-container {
    display: flex !important;
    overflow-x: auto !important;
    gap: 1.25rem !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    padding: 0.25rem 0.1rem 0.75rem 0.1rem !important;
}

.news-scroll-container::-webkit-scrollbar {
    display: none !important;
}

.news-card {
    flex: 0 0 85% !important;
    max-width: 290px !important;
    scroll-snap-align: start !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(241, 245, 249, 0.9) !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.2s ease !important;
}

.news-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
}

@media (min-width: 768px) {
    .news-card {
        flex: 0 0 30% !important;
        max-width: 320px !important;
    }
}

.news-card-banner {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
}

.news-card-body {
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
}

.news-card-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.news-card-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    border-top: 1px solid #f8fafc !important;
    padding-top: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.news-card-footer span {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

/* Leaflet Map Specific Dimensions */
#leaflet-map-home {
    width: 100% !important;
    height: 100% !important;
    min-height: 250px !important;
    display: block !important;
    z-index: 1 !important;
}

/* Premium Loading Screen */
.premium-loading-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    animation: premiumFadeIn 0.4s ease-out !important;
}

.premium-loading-card {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    width: 90% !important;
    max-width: 400px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    animation: premiumScaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.premium-loading-logo-container {
    margin-bottom: 24px !important;
}

.premium-loading-logo {
    max-width: 140px !important;
    height: auto !important;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05)) !important;
    animation: premiumPulseLogo 2s infinite ease-in-out !important;
}

.premium-loading-spinner-wrapper {
    margin-bottom: 24px !important;
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
}

.premium-loading-spinner {
    width: 50px !important;
    height: 50px !important;
    border: 4px solid rgba(244, 63, 94, 0.1) !important;
    border-top: 4px solid #ff5e62 !important;
    border-right: 4px solid #ff9966 !important;
    border-radius: 50% !important;
    animation: premiumSpin 1s linear infinite !important;
}

.premium-loading-text {
    width: 100% !important;
}

.premium-loading-text p {
    color: #475569 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    font-family: 'Outfit', sans-serif !important;
}

.loading-bar-container {
    width: 100% !important;
    height: 4px !important;
    background-color: #f1f5f9 !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    position: relative !important;
}

.loading-bar-progress {
    width: 50% !important;
    height: 100% !important;
    background: linear-gradient(90deg, #ff5e62, #ff9966) !important;
    border-radius: 2px !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    animation: premiumLoadingBarMove 1.5s infinite ease-in-out !important;
}

/* Animations */
@keyframes premiumFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes premiumScaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

@keyframes premiumPulseLogo {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes premiumLoadingBarMove {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* Locate Me Button on Map */
.locate-me-btn {
    position: absolute !important;
    bottom: 16px !important;
    left: 16px !important;
    z-index: 1000 !important;
    background-color: #ffffff !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.locate-me-btn:hover {
    transform: scale(1.05) !important;
    background-color: #f8fafc !important;
}

/* Horizontal Zoom controls on Map */
.horizontal-zoom-controls {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    background-color: rgba(254, 215, 170, 0.9) !important; /* Soft beige/orange background */
    border: 1px solid rgba(251, 146, 60, 0.2) !important;
    border-radius: 20px !important;
    padding: 2px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.zoom-btn-horizontal {
    background: transparent !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
}

.zoom-btn-horizontal:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
    color: #1e293b !important;
}

.zoom-divider-horizontal {
    width: 1px !important;
    height: 16px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    margin: 0 4px !important;
}

/* Lost Pet Header Next Arrow */
.lost-pet-arrow-btn-new {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    color: #64748b !important;
    transition: all 0.2s ease !important;
}

.lost-pet-arrow-btn-new:hover {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 64px !important;
    background-color: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    z-index: 9999 !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
}

.mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #475569 !important; /* Inactive darker gray color */
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    width: 33% !important;
    height: 100% !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
}

.mobile-nav-item i {
    font-size: 1.25rem !important;
}

.mobile-nav-item span {
    font-family: 'Outfit', sans-serif !important;
}

.mobile-nav-item.active {
    color: #2563eb !important; /* Active blue color */
}

/* Responsive typography & layout constraints for mobile, tablet, iPad, and desktop */
.content {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* On mobile, tablet & iPad (below iPad Pro / Desktop size: < 992px) */
@media (max-width: 991.98px) {
    html {
        font-size: 15px !important;
    }
    
    .footer-copyright-row {
        display: none !important;
    }
    
    .content {
        max-width: 600px !important; /* Limit tablet/iPad width for app-like layout */
    }
    
    .content.px-12 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    body {
        padding-bottom: 74px !important;
    }
    
    /* Reset main layout's footer container style on mobile */
    .footer {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        position: static !important;
        box-shadow: none !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Hide the inner desktop footer container */
    .footer .footer {
        display: none !important;
    }
}

/* On very small mobile screens (< 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 14px !important;
    }
    
    .content.px-12 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* On standard desktop & large iPad Pro (>= 992px) */
@media (min-width: 992px) {
    html {
        font-size: 16px !important;
    }
    
    .content {
        max-width: 800px !important; /* Center content on desktop */
    }

    /* Compact login styling on desktop to prevent vertical scrollbar and footer overlap */
    .mockup-login-container {
        min-height: auto !important;
        height: calc(100vh - 180px) !important;
        max-height: 600px !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        justify-content: center !important;
    }

    /* Compact setting styling on desktop to prevent vertical scrollbar and footer overlap */
    .mockup-setting-container {
        min-height: auto !important;
        height: calc(100vh - 180px) !important;
        max-height: 600px !important;
        padding: 16px 32px !important;
        justify-content: space-between !important;
    }

    .login-logo-section {
        margin-bottom: 16px !important;
    }

    .login-brand-logo {
        height: 60px !important;
        margin-bottom: 12px !important;
    }

    .login-form-group {
        margin-bottom: 12px !important;
    }

    .login-options-row {
        margin-bottom: 16px !important;
    }

    .login-divider {
        margin-bottom: 16px !important;
    }

    .social-login-row {
        margin-bottom: 20px !important;
    }

    .login-submit-btn {
        margin-bottom: 12px !important;
    }
}

/* Hide the old 5-button menu on all screens */
.footer-row.main-menu {
    display: none !important;
}

/* On desktop screens (>= 992px) */
@media (min-width: 992px) {
    body {
        padding-bottom: 160px !important;
    }

    /* Style the outer footer container as a premium floating glass deck on desktop */
    .footer {
        position: fixed !important;
        bottom: 0 !important; /* Touch the bottom edge */
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important; /* Touch both sides of the center block */
        max-width: 800px !important;
        background: rgba(255, 255, 255, 0.85) !important; /* Semi-transparent */
        backdrop-filter: blur(20px) saturate(190%) !important; /* Frosty glass effect */
        -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 
                    0 1px 3px rgba(0, 0, 0, 0.02),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
        padding: 16px 32px !important;
        border: 1px solid rgba(226, 232, 240, 0.6) !important;
        border-radius: 24px 24px 0 0 !important; /* Rounded top corners only */
        z-index: 1000 !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        margin-top: 0 !important;
        transition: all 0.3s ease !important;
    }

    /* Inner desktop footer (which holds the copyright row) inside the outer fixed footer */
    .footer-desktop-content {
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        box-shadow: none !important;
        border: none !important;
        height: auto !important;
    }

    /* Style the 3-button bottom nav to be static and centered in the first row of the fixed footer */
    .mobile-bottom-nav {
        position: static !important;
        margin: 0 auto 12px auto !important;
        width: 100% !important;
        max-width: 100% !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border-top: none !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
        padding-bottom: 14px !important;
        height: auto !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
    }

    /* Beautify the menu items on desktop with smooth hover pills */
    .mobile-bottom-nav .mobile-nav-item {
        display: flex !important;
        flex-direction: row !important; /* Side-by-side layout on desktop */
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 20px !important;
        border-radius: 14px !important;
        color: #64748b !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        font-weight: 500 !important;
        font-size: 0.95rem !important;
        text-decoration: none !important;
    }
    
    .mobile-bottom-nav .mobile-nav-item i {
        font-size: 1.15rem !important;
        transition: transform 0.25s ease !important;
    }

    .mobile-bottom-nav .mobile-nav-item:hover {
        background-color: rgba(37, 99, 235, 0.05) !important;
        color: #2563eb !important;
    }

    .mobile-bottom-nav .mobile-nav-item:hover i {
        transform: scale(1.1);
    }

    /* Active tab pill styling on desktop */
    .mobile-bottom-nav .mobile-nav-item.active {
        background-color: rgba(37, 99, 235, 0.08) !important;
        color: #2563eb !important;
        font-weight: 600 !important;
    }

    /* Styled circular badges for social links */
    .footer-social-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background-color: #f1f5f9 !important;
        border: 1px solid rgba(226, 232, 240, 0.6) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .footer-social-icon img {
        width: 16px !important;
        height: 16px !important;
        filter: grayscale(100%) opacity(70%) !important; /* Neutral slate by default */
        transition: all 0.25s ease !important;
    }

    .footer-social-icon:hover {
        background-color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        transform: translateY(-2px) !important;
    }

    .footer-social-icon:hover img {
        filter: none !important; /* Color returns on hover */
    }
}

/* Header buttons styling */
.profile-action-btn-scan {
    background: transparent !important;
    border: none !important;
    color: #2563eb !important; /* Premium Blue */
    font-size: 1.35rem !important;
    padding: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.profile-action-btn-scan:hover {
    color: #1d4ed8 !important;
    transform: scale(1.08) !important;
}

.profile-action-btn-bell {
    background: transparent !important;
    border: none !important;
    color: #475569 !important; /* Slate gray */
    font-size: 1.35rem !important;
    padding: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.profile-action-btn-bell:hover {
    color: #1e293b !important;
    transform: scale(1.08) !important;
}

/* Swiper Custom Pagination & Slide Styles */
.swiper-pagination-bullet-active {
    background: #2563eb !important; /* Premium Blue */
    width: 20px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet {
    background: #cbd5e1 !important;
    opacity: 1 !important;
}

.swiper-slide {
    height: auto !important; /* Ensure slides stretch height consistently */
    display: flex !important;
    flex-direction: column !important;
}

.swiper-slide .news-card {
    flex: 1 1 auto !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Guest Mode Banner Styles */
.guest-banner-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffe066 0%, #fcc419 100%);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(252, 196, 25, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -5px rgba(252, 196, 25, 0.4);
}

.guest-banner-left {
    flex: 1;
    z-index: 2;
}

.guest-banner-title {
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.guest-banner-subtitle {
    color: #2e4057;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 16px 0;
}

.guest-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.guest-banner-card:hover .guest-banner-button {
    background: rgba(0, 0, 0, 0.12);
}

.guest-banner-plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #1e293b;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

.guest-banner-right {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 160px;
    height: 160px;
    z-index: 1;
}

.guest-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: rotate(-5deg);
}

/* Custom Popup Modal Styles */
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: fadeIn 0.2s ease-out;
}

.custom-popup-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 24px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    text-align: center;
    transform: scale(0.95);
    animation: scaleUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.custom-popup-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.custom-popup-warning-icon {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 32px;
}

.custom-popup-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.custom-popup-message {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 24px 0;
}

.custom-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-popup-primary {
    background: #0066fe;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-popup-primary:hover {
    background: #0052cc;
}

.btn-popup-primary:active {
    transform: scale(0.98);
}

.btn-popup-secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-popup-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    to { transform: scale(1); }
}

/* Mockup Login Revamp Styles */
.mockup-login-container {
    background-color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    height: calc(100vh - 74px);
    max-height: calc(100vh - 74px);
    box-sizing: border-box;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #1f2937;
    overflow: hidden;
}

/* Nav header with back button */
.login-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.back-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4b5563;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    padding: 0;
}

.back-circle-btn:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

/* Logo section */
.login-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 12px;
}

.login-brand-logo {
    height: 56px;
    object-fit: contain;
    margin-bottom: 8px;
}

.login-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* Form Groups */
.login-form-group {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.login-input-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
    text-align: start;
}

.login-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.login-text-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.login-text-input::placeholder {
    color: #9ca3af;
}

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

.login-text-input.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.password-toggle-btn {
    position: absolute;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.password-toggle-btn:hover {
    color: #4b5563;
}

/* Options Row */
.login-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #4b5563;
    font-weight: 500;
}

.remember-me-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #9ca3af;
    cursor: pointer;
    accent-color: #3b82f6;
}

.forgot-password-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 12px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #f3f4f6;
}

.login-divider-text {
    padding: 0 16px;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Social Buttons */
.social-login-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.social-btn img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Specific button overrides */
.apple-btn {
    background-color: #000000 !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 20px !important;
}

.apple-btn:hover {
    background-color: #1f2937 !important;
}

/* Submit Button */
.login-submit-btn {
    width: 100%;
    height: 46px;
    background-color: #FEF08A; /* Soft yellow matching the mockup */
    color: #2563eb; /* Brand Blue */
    border: none;
    border-radius: 23px; /* Capsule shape */
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.login-submit-btn:hover {
    background-color: #fde047;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254, 240, 138, 0.3);
}

.login-submit-btn:active {
    transform: translateY(1px);
}

/* Footer Link */
.login-register-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: auto; /* Push to bottom if viewport allows */
    padding-bottom: 8px;
}

.register-link {
    color: #2563eb;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.login-validation-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 6px;
    text-align: start;
    font-weight: 500;
}

/* Mockup Settings Page Styles */
.mockup-setting-container {
    background-color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    height: calc(100vh - 74px);
    max-height: calc(100vh - 74px);
    box-sizing: border-box;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Prompt', 'Outfit', sans-serif;
    color: #1f2937;
    overflow: hidden; /* No scroll */
}

.setting-logo-section {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.setting-brand-logo {
    height: 38px;
    object-fit: contain;
}

.setting-profile-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 8px 0;
    margin-bottom: 12px;
    position: relative;
}

.setting-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.setting-profile-info {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.setting-username {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.setting-email {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

.setting-edit-btn {
    position: absolute;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    padding: 0;
}

.setting-edit-btn:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.setting-section {
    margin-bottom: 12px;
}

.setting-section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
    text-align: start;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f9fafb;
}

.setting-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.setting-row-icon {
    font-size: 1.15rem;
    color: #1f2937;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setting-row-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

.setting-row-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-row-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.setting-arrow-icon {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Switch Toggle Styling */
.setting-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

.setting-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.setting-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .3s;
    border-radius: 34px;
}

.setting-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.setting-switch input:checked + .setting-slider {
    background-color: #2563eb;
}

.setting-switch input:checked + .setting-slider:before {
    transform: translateX(20px);
}

/* Social circles styling in setting page */
.setting-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.setting-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.setting-social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.setting-social-btn.fb-btn {
    color: #1877f2;
}

.setting-social-btn.line-btn {
    color: #06c755;
}

.setting-social-btn.mail-btn {
    color: #ea4335;
}

.setting-social-btn.phone-btn {
    color: #4b5563;
}

/* Logout styling */
.setting-logout-section {
    display: flex;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 8px;
}

.setting-logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-size: 0.95rem;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.setting-logout-btn:hover {
    opacity: 0.8;
}

.setting-version-label {
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Bottom Sheet Modal for Language Selector */
.setting-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 10050 !important;
    backdrop-filter: blur(1px);
    animation: fadeIn 0.2s ease;
}

.setting-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    background-color: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 10060 !important;
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
    }
    to {
        transform: translate(-50%, 0);
    }
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 14px;
}

.sheet-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

.sheet-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #4b5563;
    font-size: 1.1rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheet-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sheet-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f9fafb;
}

.sheet-option-row:hover {
    background-color: #f9fafb;
}

.sheet-option-row.active {
    background-color: #ffffff;
}

.sheet-option-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.sheet-option-check {
    font-size: 1.2rem;
    color: #3b82f6;
}

/* About Us / Objectives Section Home Page */
.about-us-card {
    background: linear-gradient(to bottom right, #ffffff, #fafafb) !important;
    transition: all 0.3s ease !important;
}

.about-us-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04) !important;
}

.about-us-header {
    margin-bottom: 1rem;
}

.about-us-objectives {
    margin-bottom: 1.25rem;
}

.obj-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.obj-title i {
    color: #ff8b6a !important;
    font-size: 1.05rem !important;
}

.about-us-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0 !important;
    text-align: justify;
}

.about-us-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    background: rgba(241, 245, 249, 0.5);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #f1f5f9;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.4;
}

.info-item i {
    font-size: 1.1rem;
    color: #ff8b6a;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.info-item a:hover {
    text-decoration: underline;
}

.about-us-cta {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
    text-align: center;
}

.cta-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-badge-link {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-badge-link img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.download-badge-link:hover {
    transform: translateY(-2px) scale(1.03);
}

.download-badge-link:active {
    transform: translateY(0) scale(0.98);
}

/* News Page Revamp CSS */
.news-page-container {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-bottom: 80px; /* footer padding */
}

.news-custom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-back-btn {
    background: transparent;
    border: none;
    font-size: 1.35rem;
    color: #000000;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    font-family: 'Prompt', sans-serif !important;
}

.news-list-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-list-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.news-card-banner-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-accent-block {
    padding: 16px;
    border-left: 4px solid #facc15; /* Yellow line accent on the left side of text block */
    background-color: #ffffff;
}

.news-card-headline {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Prompt', sans-serif !important;
}

.news-card-date-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
}

.news-card-date-meta i {
    font-size: 0.88rem;
    color: #94a3b8;
}

/* Full-Screen News Detail Overlay */
.news-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    background-color: #ffffff;
}

.header-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.header-close-btn:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.news-detail-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px 16px 80px 16px;
}

.news-detail-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    font-family: 'Prompt', sans-serif !important;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

.news-detail-meta i {
    font-size: 0.95rem;
    color: #94a3b8;
}

.news-detail-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 0 0 20px 0;
}

.news-detail-body {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.7;
    font-family: 'Prompt', sans-serif !important;
}

.news-detail-body p {
    margin-bottom: 12px;
}

.news-detail-body a {
    color: #2563eb;
    text-decoration: underline;
    word-break: break-all;
}

.news-detail-body a:hover {
    color: #1d4ed8;
}

.news-detail-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.news-detail-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .news-page-container {
        max-width: 800px;
        margin: 0 auto;
        border-left: 1px solid #e2e8f0;
        border-right: 1px solid #e2e8f0;
        background-color: #ffffff;
        min-height: 100vh;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.02);
    }

    .news-detail-overlay {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 800px !important;
        border-left: 1px solid #e2e8f0;
        border-right: 1px solid #e2e8f0;
        z-index: 990 !important; /* Sit under floating footer (1000) */
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    }

    .news-detail-content {
        padding-bottom: 180px !important; /* Prevent footer coverage */
    }
}

/* Full-Screen Scanner Viewport */
.scanner-viewport {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    background-color: #000000 !important;
    overflow: hidden !important;
    z-index: 1100 !important; /* Stand above main layout and headers */
}

/* Hide standard headers, footer and navigation when the scanner is active */
body:has(.scanner-viewport) {
    overflow: hidden !important; /* Prevent page scrolling completely */
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
}

body:has(.scanner-viewport) .footer,
body:has(.scanner-viewport) footer,
body:has(.scanner-viewport) .mobile-bottom-nav,
body:has(.scanner-viewport) .osahan-header-nav,
body:has(.mypet-as-modal) .footer,
body:has(.mypet-as-modal) footer,
body:has(.mypet-as-modal) .mobile-bottom-nav,
body:has(.mypet-as-modal) .osahan-header-nav,
body:has(.addpet-as-modal) .footer,
body:has(.addpet-as-modal) footer,
body:has(.addpet-as-modal) .mobile-bottom-nav,
body:has(.addpet-as-modal) .osahan-header-nav {
    display: none !important;
}

/* Elevate bootstrap modals to sit above fullscreen scanner */
body:has(.scanner-viewport) .modal {
    z-index: 1200 !important;
}
body:has(.scanner-viewport) .modal-backdrop {
    z-index: 1190 !important;
}

/* Ensure the video occupies the full viewport, object-fitting cover */
.scanner-viewport video {
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Scanner UI Overlay sitting on top of video */
.scanner-ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1110;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none; /* Let clicks pass to video if needed, but overlay components should catch clicks */
}

/* Top bar with back/close and flash */
.scanner-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: auto; /* Enable clicks on buttons */
}

.scanner-action-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

.scanner-action-btn:active {
    transform: scale(0.9);
}

.scanner-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Prompt', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.scanner-close-btn {
    background: #ffffff;
    border: none;
    color: #000000;
    font-size: 1.4rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.2s, transform 0.2s;
}

.scanner-close-btn:hover {
    background-color: #f1f5f9;
}

.scanner-close-btn:active {
    transform: scale(0.9);
}

/* Center targeting area */
.scanner-target-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-target-box {
    width: 260px;
    height: 260px;
    position: relative;
    box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.45); /* Mask outside target box */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Yellow corner brackets */
.scanner-target-box .bracket {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 4px solid #facc15; /* yellow-400 */
}

.scanner-target-box .top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.scanner-target-box .top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.scanner-target-box .bracket.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.scanner-target-box .bracket.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Bottom instructions and controls */
.scanner-bottom-bar {
    padding: 24px 24px calc(75px + env(safe-area-inset-bottom)) 24px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
}

.scanner-instructions {
    color: #ffffff;
    font-size: 0.92rem;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    max-width: 320px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-family: 'Prompt', sans-serif;
}

.scanner-controls-row {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

/* Custom design for upload image label and switch button */
.scanner-upload-label, .scanner-switch-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-family: 'Prompt', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0;
    transition: background-color 0.2s, transform 0.2s;
    text-align: center;
}

.scanner-upload-label i, .scanner-switch-btn i {
    font-size: 1.3rem;
}

.scanner-upload-label:hover, .scanner-switch-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.scanner-upload-label:active, .scanner-switch-btn:active {
    transform: scale(0.95);
}

/* ==========================================================================
   Profile Edit Revamp Styles (ข้อมูลส่วนตัว)
   ========================================================================== */

.profile-edit-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
    font-family: 'Prompt', 'Inter', sans-serif;
    background-color: #ffffff;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 24px;
}

.profile-back-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #111111;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.profile-back-btn:hover {
    transform: translateX(-2px);
}

.profile-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    flex: 1;
    text-align: center;
    margin-right: 48px; /* Balanced spacing with back button */
}

.profile-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 36px auto;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-camera-overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 32px;
    height: 32px;
    background-color: #60a5fa; /* Pastel blue camera circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    margin: 0;
}

.profile-camera-overlay:hover {
    transform: scale(1.1);
    background-color: #3b82f6;
}

.profile-camera-overlay i {
    color: #ffffff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-input-group {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.profile-input-group.disabled {
    background: #f1f1f6 !important; /* Disabled gray background */
    border-color: #e2e8f0;
}

.profile-input-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8; /* Lighter gray for label */
    margin-bottom: 3px;
    text-transform: none;
}

.profile-input-field {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    padding: 0 !important;
    width: 100%;
    box-shadow: none !important;
}

.profile-input-field:disabled {
    color: #475569;
}

.profile-save-btn {
    width: 100%;
    background: #ffd644; /* Vivid yellow button from mockup */
    color: #1e293b;
    border: none;
    border-radius: 16px;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 36px;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 10px rgba(254, 219, 68, 0.25);
    text-align: center;
}

.profile-save-btn:hover {
    background: #fcc21a;
}

.profile-save-btn:active {
    transform: scale(0.98);
}

/* --- User Account Page & Modal Mockup Styles --- */
.useraccount-container {
    background-color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    font-family: 'Prompt', 'Outfit', sans-serif;
    color: #1f2937;
}

.useraccount-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px 0 24px 0;
}

.useraccount-back-btn {
    position: absolute;
    left: 0;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1f2937;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.useraccount-back-btn:hover {
    transform: translateX(-3px);
}

.useraccount-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.useraccount-section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    margin-top: 12px;
}

.useraccount-section-icon {
    font-size: 1.25rem;
    color: #1f2937;
}

.useraccount-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Card Styling */
.useraccount-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 14px;
    background-color: #ffffff;
    transition: box-shadow 0.2s;
}

.useraccount-card.disabled {
    background-color: #f1f1f5;
    border-color: #e5e7eb;
}

.useraccount-card-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.useraccount-card-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.useraccount-card-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

/* Custom Link Button */
.useraccount-link-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #f1f1f5;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.useraccount-link-btn:hover {
    background-color: #e5e5ea;
    border-color: #d1d5db;
}

.useraccount-link-btn i {
    font-size: 1rem;
}

/* Delete Row */
.useraccount-delete-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    margin-top: 20px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: opacity 0.2s;
}

.useraccount-delete-row:hover {
    opacity: 0.8;
}

.useraccount-delete-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.95rem;
}

.useraccount-delete-icon {
    font-size: 1.25rem;
    color: #1f2937;
}

.useraccount-delete-arrow {
    font-size: 1rem;
    color: #9ca3af;
}

/* Modal Overlay & Card */
.useraccount-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.useraccount-modal-card {
    background-color: #ffffff;
    border-radius: 28px;
    width: 90%;
    max-width: 380px;
    padding: 32px 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: useraccount-fade-in 0.3s ease-out;
}

@keyframes useraccount-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.useraccount-modal-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.useraccount-modal-icon-container {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background-color: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.useraccount-modal-icon-container i {
    font-size: 1.75rem;
    color: #3b82f6;
}

.useraccount-modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 14px;
    text-align: center;
}

.useraccount-modal-desc {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 24px;
    white-space: pre-line;
}

.useraccount-modal-checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    cursor: pointer;
    text-align: start;
    user-select: none;
}

.useraccount-modal-checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #d1d5db;
    cursor: pointer;
    accent-color: #007aff;
}

.useraccount-modal-checkbox-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.useraccount-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.useraccount-modal-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 28px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

.useraccount-modal-btn.cancel {
    background-color: #007aff;
    color: #ffffff;
}

.useraccount-modal-btn.cancel:hover {
    background-color: #0063cc;
}

.useraccount-modal-btn.delete {
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;
}

.useraccount-modal-btn.delete:hover:not(:disabled) {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.useraccount-modal-btn.delete:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

/* Mockup Register Revamp Styles */
.register-header-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
}

.register-brand-logo {
    height: 52px;
    object-fit: contain;
    margin-bottom: 16px;
    align-self: flex-start;
}

.register-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px 0;
    font-family: 'Prompt', 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.register-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    font-family: 'Prompt', 'Outfit', sans-serif;
}

.register-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.register-terms-row {
    margin-top: 6px;
    margin-bottom: 12px;
    text-align: left;
    width: 100%;
}

.register-terms-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    cursor: pointer;
    accent-color: #0066fe;
}

.terms-text {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    font-family: 'Prompt', 'Outfit', sans-serif;
    font-weight: 500;
}

.terms-link {
    color: #0066fe;
    font-weight: 700;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.register-submit-wrapper {
    width: 100%;
    margin-top: 10px;
}

.register-submit-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Prompt', 'Outfit', sans-serif;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-submit-btn:disabled {
    background-color: #fef9c3;
    color: #d97706;
    opacity: 0.6;
    cursor: not-allowed;
}

.register-submit-btn:not(:disabled) {
    background-color: #fef08a;
    color: #854d0e;
    cursor: pointer;
}

.register-submit-btn:not(:disabled):hover {
    background-color: #fde047;
}

.register-signin-link-section {
    text-align: center;
    margin-top: 18px;
    font-size: 0.92rem;
    color: #475569;
    font-weight: 600;
    font-family: 'Prompt', 'Outfit', sans-serif;
    width: 100%;
}

.signin-highlight-link {
    color: #0066fe;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.signin-highlight-link:hover {
    text-decoration: underline;
}

/* Mockup Maps Revamp Styles */
.maps-page-container {
    width: 100%;
    height: calc(100vh - 74px);
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .maps-page-container {
        height: calc(100vh - 180px) !important;
    }
}

.map-overlay-controls {
    position: absolute;
    top: 20px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.map-filters-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.map-control-circle-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #475569;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.map-control-circle-btn:hover {
    transform: translateY(-2px);
}

/* Active states matching mockup colors */
.map-control-circle-btn.active-lost {
    background-color: #fde047 !important; /* warm yellow */
    color: #854d0e !important;
    border-color: #fde047 !important;
}
.map-control-circle-btn.active-hospital {
    background-color: #10b981 !important; /* green hospital */
    color: #ffffff !important;
    border-color: #10b981 !important;
}
.map-control-circle-btn.active-store {
    background-color: #3b82f6 !important; /* blue store */
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}
.map-control-circle-btn.active-hotel {
    background-color: #ef4444 !important; /* red hotel */
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

.map-zoom-right {
    display: flex;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-zoom-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s;
    border-radius: 4px;
}

.map-zoom-btn:hover {
    background-color: #f1f5f9;
}

.map-gps-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #0066fe;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.2s ease;
    padding: 0;
}

.map-gps-btn:hover {
    transform: scale(1.05);
}

/* Custom leaflet markers */
.leaflet-div-icon-reset {
    background: transparent !important;
    border: none !important;
}

.leaflet-custom-marker {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 2px solid #ffffff;
    transition: all 0.2s ease;
}

.leaflet-custom-marker i {
    font-size: 1.1rem;
    color: #ffffff;
}

/* User marker style */
.marker-user {
    background-color: #3b82f6;
    border-color: #ffffff;
}
.user-pulse-dot {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #3b82f6;
    animation: markerPulse 1.8s infinite;
}

/* bg classes */
.bg-green {
    background-color: #10b981; /* hospital green */
}
.bg-blue {
    background-color: #3b82f6; /* store blue */
}
.bg-red {
    background-color: #ef4444; /* hotel red */
}

/* Lost pet styles */
.marker-lost {
    background-color: #fde047; /* yellow/orange */
    color: #854d0e;
}
.marker-lost-img {
    background-color: #fde047;
    padding: 0;
    overflow: hidden;
    border-color: #fde047;
}
.marker-lost-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes markerPulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

.map-popup-card {
    padding: 4px;
    font-family: 'Prompt', sans-serif;
}
.map-popup-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1e293b;
}
.map-popup-card p {
    font-size: 0.82rem;
    margin: 0;
    color: #64748b;
}

/* Bottom sheet modal */
.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.4);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bottom-sheet-modal {
    background-color: #ffffff;
    width: 100%;
    max-width: 800px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 24px;
    box-sizing: border-box;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.bottom-sheet-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    font-family: 'Prompt', sans-serif;
    width: 100%;
    text-align: center;
}

.bottom-sheet-close-btn {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.bottom-sheet-close-btn:hover {
    color: #1e293b;
}

.filter-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 12px 0;
    font-family: 'Prompt', sans-serif;
}

.filter-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.filter-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background-color: #ffffff;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: 'Prompt', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.filter-option-card i {
    font-size: 1.2rem;
}

.filter-option-card.active {
    border-color: #0066fe;
    color: #0066fe;
    background-color: #eff6ff;
}

.bottom-sheet-confirm-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background-color: #fde047; /* Yellow button */
    color: #854d0e;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Prompt', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 24px;
}

.bottom-sheet-confirm-btn:hover {
    background-color: #facc15;
}

.custom-radius-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    margin: 12px 0;
}

.custom-radius-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fde047; /* Yellow thumb */
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    margin-top: 0px; /* center it */
    transition: transform 0.1s;
}

.custom-radius-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.custom-radius-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #fde047;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Image button filters (Filter, Lost, Hospital, Store, Hotel) */
.map-image-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.map-image-btn img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    border-radius: 8px; /* matching visual layout */
}

.map-image-btn:hover {
    transform: translateY(-2px);
}

.map-image-btn.inactive img {
    filter: grayscale(100%);
    opacity: 0.5;
}



