

.language-switcher {
    position: relative;
    z-index: 9999;
    padding: 0px 0px 0px 30px;
    border-left: solid 1px #ccc;
    margin: 5px 0px 0px 15px;
}

.language-nav {
    display: flex;
    gap: 10px;
}

.lang-link {
    display: inline-block;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    transition: all 0.2s ease;
    border-radius: 99px;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 !important;
    border: solid 1px #ffffff00;
}

.lang-link:hover {
    background: #fff;
    color:#000 !important;
}

.lang-link.active {
    background: #000;
    color: white !important;
    border: solid 1px #fff;
}

.lang-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}


/* CSS for Translation Hierarchy in Post List */
.wp-list-table .post-translation {
    background-color: #f8f9fb;
    border-left: 4px solid #007cba;
}

.wp-list-table .post-translation td {
    color: #666;
    font-style: italic;
}

.wp-list-table .post-translation .column-title a {
    color: #666;
}

.wp-list-table .post-translation-indent {
    padding-left: 30px !important;
}



/* Add this to your css/frontend.css file */
.language-info {
    padding: 10px;
}

.translation-status {
    margin: 5px 0;
    padding: 3px 0;
}

.create-translation {
    margin: 2px 0 !important;
    font-size: 12px !important;
    height: 24px !important;
    line-height: 22px !important;
}

.translation-link {
    display: block;
    margin: 3px 0;
    color: #135e96;
    text-decoration: none;
}

.translation-link:hover {
    color: #0a4b78;
}

.wp-list-table .type-page.translation {
    margin-left: 20px;
    border-left: 4px solid #646970;
    background-color: #f8f9fa;
}

.wp-list-table .type-page.translation td:first-child {
    padding-left: 15px;
}

.wp-list-table .translation-indicator {
    color: #666;
    font-style: italic;
}

.translation-meta-box .translations-list ul {
    margin: 10px 0;
}

.translation-meta-box .create-translation {
    margin-top: 15px;
}

.translation-meta-box .button {
    margin-top: 5px;
}

.is-translation {
    /* Your custom styling for translated posts */
    opacity: 0.8 !important;
    background-color: #f4f4f4;
}

