/* =============================================
   Language Selector Styles - UPDATED 2026
   Professional design matching IslamAwakened brand
   ============================================= */

/* Language selector container */
#dd1 {
    position: fixed;
    left: 20px;
    top: 350px;
    width: 150px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    border: 2px solid #1e3a8a;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

    /* "LANGUAGE" label at top */
    #dd1::before {
        content: "LANGUAGE";
        display: block;
        text-align: center;
        font-size: 11px;
        font-weight: 600;
        color: #1e3a8a;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 4px 0 8px 0;
        border-bottom: 1px solid #e0e7ff;
        margin: 0 12px 8px 12px;
    }

/* Individual language link container */
.ddlink {
    display: block;
    margin: 2px 8px;
    padding: 0;
}

    /* Language links */
    .ddlink a {
        display: block;
        padding: 10px 12px;
        color: #1e40af;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        border-radius: 6px;
    }

        /* Hover state */
        .ddlink a:hover {
            background-color: #dbeafe;
            border-left-color: #3b82f6;
            transform: translateX(2px);
            color: #1e3a8a;
        }

    /* Current language - HIGHLIGHTED */
    .ddlink.current-lang a {
        font-weight: 700;
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: white;
        border-left-color: #1e40af;
        box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
    }

        .ddlink.current-lang a:hover {
            background: linear-gradient(135deg, #2563eb, #1e40af);
            transform: translateX(0);
        }

/* Responsive design for mobile and tablets */
@media (max-width: 768px) {
    #dd1 {
        position: static;
        width: 90%;
        margin: 1rem auto;
        max-width: 500px;
        left: auto;
        top: auto;
    }

        #dd1::before {
            content: "SELECT LANGUAGE";
        }

    .ddlink {
        display: inline-block;
        margin: 4px;
    }

        .ddlink a {
            padding: 8px 16px;
            font-size: 13px;
            border-left: none;
            border-bottom: 3px solid transparent;
        }

            .ddlink a:hover {
                border-left-color: transparent;
                border-bottom-color: #3b82f6;
                transform: translateX(0) translateY(-2px);
            }

        .ddlink.current-lang a {
            border-bottom-color: #1e40af;
        }
}
