/* DESKTOP LAYOUT FIX - Force horizontal for screens > 768px */
@media (min-width: 769px) {
    .top-bar-content {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .top-bar-actions {
        flex-direction: row !important;
        display: flex !important;
        gap: 1.5rem !important;
    }

    .feature-cards {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .hero-container {
        grid-template-columns: 35% 65% !important;
    }

    /* Dashboard Footer Layout Support - Force offset for footer on all dashboard pages */
    .dashboard-body footer,
    .dashboard-body .site-footer {
        margin-left: 260px !important;
        width: calc(100% - 260px) !important;
        position: relative !important;
        display: block !important;
    }

    .dashboard-body .footer-container {
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 3rem !important;
    }
}

/* Global Styles - Gmail-Inspired Typography */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Global Zoom Setting - 90% for better viewing */
:root {
    /* NOTE: --primary-color, --secondary-color, --accent-color, and all
       --vn-* color tokens are dynamically injected by theme.php.
       Only layout / text / shadow utilities live here as fallbacks. */
    --text-color: #202124;
    --text-secondary: #5f6368;
    --bg-color: #f5f0e8;
    --white: #ffffff;
    --shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
    --card-bg: #ffffff;

    /* Sidebar variables - Day mode (white sidebar, dark text) */
    --sidebar-bg: #ffffff;
    --sidebar-text: #202124;
    --sidebar-border: rgba(0, 0, 0, 0.08);
    --sidebar-hover-bg: #f1f3f4;
    --sidebar-hover-text: #202124;
}

/* Dark mode sidebar overrides */
body.dark-mode,
html.dark-mode,
[data-theme="dark"] {
    --sidebar-bg: #0f172a;
    --sidebar-text: #cbd5e1;
    --sidebar-border: rgba(255, 255, 255, 0.08);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.08);
    --sidebar-hover-text: #ffffff;
}


@media (min-width: 769px) {

    .mobile-logo-container,
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Ensure Luxury Top Bar is visible on Desktop */
.top-bar-luxury {
    display: block !important;
    position: relative !important;
    z-index: 10001 !important;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    font-size: 14px;
}

* {
    box-sizing: border-box;
}

main {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Gmail-Style Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0;
}

h1 {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 400;
}

h3 {
    font-size: 20px;
    font-weight: 500;
}

h4 {
    font-size: 16px;
    font-weight: 500;
}

.registration-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.reg-tabs {
    display: flex;
}

.reg-tab {
    flex: 1;
    padding: 1rem;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.reg-tab.active {
    background: #c62828;
    color: white;
}

.reg-subtitle {
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

.hero-form {
    padding: 1.5rem;
}

.form-row {
    margin-bottom: 1rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
}

input[type="email"], input[name="email"] {
    text-transform: lowercase;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #c62828, #e53935);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Couple Image Section */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.couple-frame {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ff6b35 100%);
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.decorative-flowers {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="10" fill="%23c62828"/><circle cx="30" cy="40" r="8" fill="%23c62828"/><circle cx="70" cy="40" r="8" fill="%23c62828"/><circle cx="40" cy="65" r="8" fill="%23c62828"/><circle cx="60" cy="65" r="8" fill="%23c62828"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.6;
}

.couple-text {
    position: absolute;
    top: 20%;
    left: 10%;
    color: white;
    z-index: 10;
    max-width: 300px;
}

.couple-text h2 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.couple-text p {
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.register-btn {
    padding: 0.7rem 2rem;
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem 1.5rem;
    border-radius: 8px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.orange-card {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.blue-card {
    background: linear-gradient(135deg, #4a90e2, #5ba3f5);
}

.green-card {
    background: linear-gradient(135deg, #50c878, #66d98e);
}

.pink-card {
    background: linear-gradient(135deg, #e74c3c, #f56c5c);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.feature-card p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.card-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: white;
    color: #333;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.2s;
}

.card-link:hover {
    transform: scale(1.05);
}

/* Success Stories Section */
.success-section {
    padding: 3rem 0;
    background: white;
}

.success-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.success-story {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background: #fafafa;
    padding: 2rem;
    border-radius: 8px;
    border: 3px solid #f0f0f0;
}

.story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--primary-color);
}

.story-content h3 {
    margin: 0 0 1rem 0;
    color: #333;
}

.story-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
}

/* Featured Profiles Section */
.profiles-section {
    padding: 3rem 0;
    background: var(--bg-color);
}

.profiles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.profile-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-img {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.profile-info {
    padding: 1.5rem;
    text-align: center;
}

.profile-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.profile-info p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.view-details {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.2s;
}

.view-details:hover {
    transform: scale(1.05);
}

/* About Us Section */
.about-section {
    padding: 3rem 0;
    background: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    background: #fafafa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
}

/* Community Search Section */
.community-section {
    padding: 3rem 0;
    background: var(--bg-color);
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.community-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.community-tag {
    padding: 0.6rem 1.5rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
}

.community-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Ensure 3 columns for desktop */
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #ff6b35;
    /* Hardcoded Orange for consistency */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #ecf0f1;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #ff6b35;
    /* Hardcoded Orange */
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s;
    color: #333;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #ff6b35;
    /* Hardcoded Orange */
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0;
}

.developer-credit a {
    color: #ff6b35;
    /* Hardcoded Orange */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.developer-credit a:hover {
    color: white;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg) !important;
    background-image: none !important;
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--sidebar-border, rgba(0,0,0,0.1));
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.sidebar-menu {
    padding: 1rem 0;
    flex: 1;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.menu-item:hover,
.menu-item.active {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-hover-text);
    border-left-color: var(--primary-color);
}

.menu-item i {
    width: 25px;
    margin-right: 10px;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content (Admin / Dashboard Workspaces Only) */
.dashboard-container .main-content {
    flex: 1;
    margin-left: 260px;
    width: calc(100% - 260px);
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

@media (max-width: 768px) {
    .dashboard-container .main-content {
        margin-left: 0;
        width: 100%;
    }
}


/* Dashboard Header */
.dashboard-header {
    background: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-search input {
    padding: 0.5rem 1rem;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Tablet and Below (1024px) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet and Mobile (768px) */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        max-height: 500px;
    }

    .main-nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav a {
        display: block;
        padding: 1rem 2rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
    }

    .success-story {
        grid-template-columns: 1fr;
    }

    .hero-new {
        background: linear-gradient(-45deg, #fdfbf7, #e8f4f8, #fff0f0, #fdfbf7);
        background-size: 400% 400%;
        animation: gradient-bg 15s ease infinite;
        position: relative;
        overflow: hidden;
    }

    .hero-new::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(93, 173, 226, 0.1) 0%, transparent 70%);
        z-index: 0;
    }

    .registration-box {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .registration-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    /* Enhanced Couple Frame */
    .couple-frame {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        border: 5px solid rgba(255, 255, 255, 0.8);
        position: relative;
        z-index: 1;
    }

    .couple-frame::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 50% 50% 50% 0;
        box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
        pointer-events: none;
    }

    /* Scroll Down Indicator */
    .scroll-indicator {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.3s;
        z-index: 10;
    }

    .scroll-indicator:hover {
        opacity: 1;
    }

    .scroll-mouse {
        width: 26px;
        height: 40px;
        border: 2px solid #5DADE2;
        border-radius: 15px;
        position: relative;
    }

    .scroll-wheel {
        width: 4px;
        height: 8px;
        background: #5DADE2;
        border-radius: 2px;
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translateX(-50%);
        animation: scrollWheel 2s infinite;
    }

    @keyframes scrollWheel {
        0% {
            top: 6px;
            opacity: 1;
        }

        100% {
            top: 20px;
            opacity: 0;
        }
    }

    .scroll-text {
        font-size: 0.8rem;
        color: #5DADE2;
        margin-top: 5px;
        font-weight: 500;
    }

    /* Enhanced Feature Cards */
    .feature-card {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
        opacity: 0;
        transition: opacity 0.3s;
    }

    .feature-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .feature-card:hover::before {
        opacity: 1;
    }

    .card-icon {
        transition: transform 0.5s ease;
    }

    .feature-card:hover .card-icon {
        transform: scale(1.2) rotate(5deg);
    }

    .card-link {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .card-link:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        background: #fff;
        color: var(--primary-color);
    }
}

/* SELECT2 PREMIUM DESIGN SYSTEM */
.select2-container--default .select2-selection--multiple {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 5px 10px !important;
    min-height: 45px !important;
    transition: all 0.3s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    background-color: #ffffff !important;
    border-color: #ff6b35 !important;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.15) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, #1b1f7a 0%, #1e40af 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 4px 10px 4px 24px !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    margin-top: 5px !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fef08a !important;
    position: absolute !important;
    left: 7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffffff !important;
    background: transparent !important;
}

.select2-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #1a237e !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    font-family: inherit !important;
    font-size: 0.9rem !important;
    color: #1a237e !important;
    margin-top: 8px !important;
}

/* ==========================================
   CROSS-BROWSER DATE INPUT & MOBILE PLACEHOLDER FIX
   ========================================== */
input[type="date"] {
    position: relative;
    min-height: 42px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    color: #1e293b;
    font-family: inherit;
    font-size: 0.95rem;
}

/* Ensure WebKit / iOS Safari date value text is vertically aligned */
input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    min-height: 1.4em;
}

/* WebKit datetime edit placeholder color when unselected */
input[type="date"]:invalid::-webkit-datetime-edit,
input[type="date"]:not(:focus):invalid::-webkit-datetime-edit {
    color: #94a3b8;
}

/* Prevent pseudo-element overlay from duplicating date placeholder text over native date picker */
input[type="date"]:before,
input[type="date"]:after {
    content: none !important;
    display: none !important;
}

/* Standardize calendar icon styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    background-position: center;
    cursor: pointer;
    opacity: 0.6;
    padding: 4px;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ==========================================================================
   Tamil Language Typography Scaling Override
   ========================================================================== */
html[lang="ta"] {
    font-size: 90% !important; /* Proportional scaling of all rem-based elements */
}

html[lang="ta"] body {
    font-family: 'Noto Sans Tamil', 'Inter', 'Roboto', sans-serif !important;
}

html[lang="ta"] h1, 
html[lang="ta"] .hero-title {
    font-size: 2.0rem !important;
    line-height: 1.35 !important;
}

html[lang="ta"] h2,
html[lang="ta"] .section-header-premium h2,
html[lang="ta"] .district-coverage-premium h2,
html[lang="ta"] .recent-members-section h2 {
    font-size: 2.0rem !important;
}

html[lang="ta"] h3,
html[lang="ta"] .services-panel-card h2,
html[lang="ta"] .stories-panel-card h2,
html[lang="ta"] .video-showcase-section h2 {
    font-size: 1.5rem !important;
}

html[lang="ta"] .hero-subtitle,
html[lang="ta"] .section-header-premium p,
html[lang="ta"] .video-showcase-section p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
}

html[lang="ta"] .premium-input,
html[lang="ta"] .form-tab,
html[lang="ta"] .premium-submit-btn,
html[lang="ta"] .auth-btn-glass,
html[lang="ta"] .svc-filter-pill,
html[lang="ta"] .dist-tab-btn,
html[lang="ta"] .recent-tab-btn {
    font-size: 0.8rem !important;
}

html[lang="ta"] .seo-tag,
html[lang="ta"] .seo-tag-badge,
html[lang="ta"] .hero-seo-pill {
    font-size: 0.76rem !important;
}

html[lang="ta"] .member-name,
html[lang="ta"] .portrait-member-name {
    font-size: 0.9rem !important;
}