#author-kit-post-table a,
#author-kit-post-table a:link,
#author-kit-post-table a:visited,
#author-kit-post-table a:focus,
#author-kit-post-table a:active,
#author-kit-post-table a:hover {
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    transition: none !important;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}


.table-container {
    width: 95%;
    margin: 5px auto;
    border-collapse: collapse;
    overflow-x: hidden;
    font-size: 12px;

}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    font-weight: 500;
    font-style: normal;

}

th {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgb(252, 252, 252);
    border-top: 1px solid rgb(230, 230, 230);
}

thead th {
    padding: 16px 12px;
    color: #374152;
    font-size: 13px;
    /**  background-color: #f9fafb; **/
    background-color: white;
    font-weight: 600;
    font-style: normal;
}

td:not(:first-child) {
    color: black;
}




td.post-contributors {
    position: relative;
    cursor: pointer;
}
.icon-circle {
    background-color: #f0f0f0;
    color: #333;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-circle.danger {
    background-color: #ffe5e5;
    color: #d10000;
}

.icon-circle:hover {
    background-color: #f5f5f5;
    color: #1f1f1f;
}

.icon-circle.danger:hover {
    background-color: #f14d4d;
    color: #fff;
}

.action-icon {
    position: relative;
}



/* Tooltip box */
td.post-contributors::after {
    content: "View details";
    position: absolute;
    top: 70%;
    left: 40%;
    transform: translateX(-50%) translateY(10px);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

/* Tooltip arrow (downward direction) */
td.post-contributors::before {
    content: "";
    position: absolute;
    top: calc(70% - 0px); /* positions the arrow below the tooltip */
    left: 40%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #333; /* Adjust this for downward arrow */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

/* Show tooltip and arrow on hover */
td.post-contributors:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(4px); /* slide up a bit */
}

td.post-contributors:hover::before {
    opacity: 1;
}


button[id="promote"] {
    width: auto;
    height: 25px;
    padding: 5px 12px;
    background-color: #edffed;
    outline: none;
    border: none;
    border-radius: 8px;
}

button[id="blue-btn"] {
    width: auto;
    height: 25px;
    line-height: 13px;
    padding: 6px 16px;
    background-color: rgba(150, 188, 215, 0.1);
    /* 10% opacity */
    font-size: 12px;
    outline: none;
    border: none;
    border-radius: 16px;
    color: #446192;
}

th {
    background-color: #f4f4f4;
    border-bottom: 1px solid rgb(209, 209, 209);
}

td {
    border-bottom: 1px solid rgb(236, 236, 236);
}

td {
    height: 60px;
    padding: 8px 12px;
    font-size: 12px;



}




tr td:not(:first-child) {

    font-weight: 400;
    font-style: normal;
    color: #707070;
    font-size: 13px;


}

tr:hover {
    background-color: #f9fafb;
    color: #000000;
    cursor: pointer;

}

tr td:nth-child(2) {
    text-align: left;
    /* Center text horizontally */
    vertical-align: middle;
    /* Center content vertically */
    font-size: 15px;
    color: #3b3b3b;
    font-weight: 500;
    padding-left: 0px;
    padding-right: 4px !important;
    max-width: 270px;

}

tr>td:nth-child(3) {
    color: black;
    font-weight: 500;

}

tr td:nth-child(2) img.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle;
    object-fit: cover;         /* Keeps image proportionate, fills container */
    object-position: center;   /* Ensures center alignment of image */
    display: inline-block;
}

.post-contributors img{
      width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle;
    object-fit: cover;         /* Keeps image proportionate, fills container */
    object-position: center;   /* Ensures center alignment of image */
    display: inline-block;
}

[class="status-active"]>span {
    color: #00FF00;
    font-weight: 400;
    font-size: 14px;
}

.status-inactive>span {
    color: grey;
    font-weight: 400;
    font-size: 14px;
}




#btn-add-new {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 25px 30px 25px 30px;

}


#btn-add-new>button,
button {
    width: auto;
    height: 40px;
    padding: 10px 20px;
    box-sizing: border-box;
    outline: none;
    border: none;
}

#btn-add-new>button {
    background-color: #f8f8f8;
    border: 1px solid rgb(59, 59, 235);
    border-radius: 6px;
    color: rgb(59, 59, 235);
    cursor: pointer;
    font-weight: 400;
    font-style: normal;
}

#btn-add-new>button:hover {
    background-color: #fafafa;
    font-weight: 500;

}

#btn-add-new>div>button {
    background-color: #f1f1f1;
    border: 1px solid rgb(255, 255, 255);
    cursor: pointer;
}

input {
    width: 220px;
    height: 38px;
    border-radius: 10px;
    outline: none;
    background-color: #fafafa;
    border: none;
    padding-left: 15px;
    font-size: 14px;
    border: 1px solid rgb(231, 231, 231);
    color: black;


}

input:focus {
    border: 1px solid rgb(95, 95, 231);
    font-weight: 400;
    font-style: normal;
}


.profile-container {
    text-align: center;
    margin-top: 0px;
}

#modelImg {
    cursor: pointer;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-sizing: border-box;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 30px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.5s;
    cursor: pointer;

}

.modal-content {
    margin: 50px auto;
    display: block;
    max-width: 400px;
    max-height: 400px;
    animation: zoomIn 0.5s;
    border-radius: 50%;


}

img[class="modal-content"] {
    width: 100%;
    height: 100%;
    max-width: 390px;
    max-height: 390px;
    border-radius: 50%;
    object-fit: cover;
    animation: zoomIn 0.5s;
    display: block;
    border: 10px solid rgb(100, 36, 204);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.hidden {
    display: none;
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#right-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;

    align-items: center;
}

.content.active {
    display: block;
}

#data-table-authorwp {
    display: flex;
    flex-direction: row;
    place-content: space-between;
    gap: 25px;
    align-items: center;
    margin: 0px;
    margin-left: 35px;
    margin-top: 8px;

}

#data-table-authorwp>div>p {
    display: inline-block;
    align-items: center;
    font-size: 12px;
    border-left: 1px solid rgb(114, 114, 114);
    padding-left: 7px;
    color: black;
}

#data-table-authorwp>div>p:hover {
    cursor: pointer;
    color: #4066f0;
}

#data-table-authorwp>p>span {
    color: black;
}

#multi-select-options {
    display: none;
    background: none;

}

#multi-select-options>div[id="container-for-multi-options"] {
    display: flex;
    flex-direction: row;
    gap: 0px;
    margin-right: 50px;

}
#container-for-multi-options {
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 8px 0;
}

#container-for-multi-options > span {
    font-weight: 600;
    margin-right: 8px;
}

.icon-bar {
    display: flex;
    gap: 12px;
}

.action-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none; /* Optional for default styling */
    color: inherit; /* Ensures base color unless overridden */
}

.action-icon[data-tooltip="Permanently delete all posts"] {
    color: red;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.danger {
    color: red;
}

div[id="edit-btn-more"] {
    margin: 0px;
    padding: 0px;
    margin-right: 60px;

}

div[id="edit-btn-more"]>p {
    margin: 0px;
    padding: 0px;
    border: none !important;
}

div[id="edit-btn-more"]>p>button {
    width: auto;
    height: 30px;
    text-align: center;
    border: 1px solid rgb(175, 175, 175);
    background-color: white;
    color: #333;
    padding: 0px 20px;
    margin-left: 5px;
    border-radius: 2px;
    cursor: pointer;
}

div[id="edit-btn-more"]>p>button[id="apply-settings"] {
    width: auto;
    height: 30px;
    text-align: center;
    border: 1px solid #4066f0;
    background-color: rgb(241, 241, 241);
    padding: 0px 20px;
    margin-left: 5px;
    color: #4066f0;
    border-radius: 2px;
    cursor: pointer;
}

div[id="edit-btn-more"]>p>button[id="apply-settings"]:hover {
    background-color: #e9e9e9;
}

#authorTable>input[type="checkbox"] {
    width: 13px;
    height: 13px;
    margin: 0px;
    padding: 0px;



}

a {
    color: inherit;
    text-decoration: none;

}

#status-online {
    width: 100px;

}


/* Styling for the dropdown */
.dropdown {

    display: inline-block;
    z-index: 99;

}

.dropdown-toggle {
    background-color: #f9f9f9;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 10px;
    font-size: 16px;
    width: 45px;
    height: 45px;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.dropdown-toggle:hover {
    background-color: #f1f1f1;
}

.dropdown-menu {
    width: 140px;
    display: none;
    position: absolute;
    right: 100px;
    background-color: #fff;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
    z-index: 1;
    border-radius: 12px;
    z-index: 999;
    padding: 8px;
}

.dropdown-item {
    padding: 12px 12px 12px 12px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    color: #535353;
    border-radius: 8px;
}

.dropdown-item:hover {
    background-color: #fcfcfc;
    color: rgb(44, 44, 44) ;
}

/* Show the dropdown menu */
.dropdown.show {
    display: block;
}


#pagination-footer {
    padding: 10px 20px;
    width: 100%;
    background-color: ghostwhite;
    display: flex;
    flex-direction: row;
    color: grey;
    font-weight: 500;
    font-style: normal;
    font-style: inherit;
    text-align: center;
    place-items: center;
    place-content: center;
}

#prevPage,
#nextPage {
    width: auto;
    height: 30%;
    border-radius: 4px;
    margin: 0px 20px;
    cursor: pointer;
}

#authorTable th input[type="checkbox"],
#authorTable td input[type="checkbox"] {
    margin-right: 10px;
}

.status-label {
    width: auto;
    height: 25px;
    line-height: 13px;
    padding: 6px 16px;

    font-size: 11px;
    outline: none;
    border: none;
    border-radius: 16px;
    color: #446192;
}

.quick-info {
    width: auto;
    height: 25px;
    line-height: 13px;
    padding: 6px 16px;
    background-color: rgba(128, 128, 128, 0.1);
    /* Grey with 10% opacity */
    font-size: 11px;
    outline: none;
    border: none;
    border-radius: 16px;
    color: #446192;
}

.status-label.publish {
    background-color: rgba(0, 128, 0, 0.09);
    /* Green with 70% opacity */
    color: rgba(0, 128, 0, 0.8);
    /* Green with 70% opacity */
}

.status-label.future {
    background-color: rgba(128, 0, 128, 0.09);
    /* Purple with 70% opacity */

    /* Text color with purple and 70% opacity */
    color: rgba(128, 0, 128, 0.8);
    /* Purple with 70% opacity */
}

/* Draft Status */
.status-label.draft {
    background-color: rgba(255, 193, 7, 0.1);
    /* Yellow with 70% opacity */
    color: rgba(255, 193, 7, 1);
    /* Yellow with 70% opacity */
}

.status-label.private {
    background-color: rgba(23, 162, 184, 0.1);
    /* Teal with 70% opacity */
    color: rgba(23, 162, 184, 1);
    /* Teal with 70% opacity */
}

/* Pending Review Status */
.status-label.pending {
    background-color: rgba(23, 162, 184, 0.1);
    /* Teal with 70% opacity */
    color: rgba(23, 162, 184, 1);
    /* Teal with 70% opacity */
}

/* Trash Status */
.status-label.trash {
    border: 1px solid rgba(220, 53, 69, 0.7);
    /* Red with 70% opacity */
    color: rgba(220, 53, 69, 0.7);
    /* Red with 70% opacity */
}

.post-content-wrapper {
    display: flex;
    /* Align items in a row */
    align-items: center;
    /* Vertically center the image and text */

    overflow: hidden;
    /* Prevents content overflow */

}

.post-thumbnail {
    flex-shrink: 0;
    /* Prevents the image from shrinking */
    margin-right: 10px;
    /* Space between image and text */
    width: 50px;
    /* Fixed width for the thumbnail */
    height: 30px;
    /* Fixed height for the thumbnail */
}

.post-title {
    margin: 0;
    /* Removes default margin */
    font-size: 12px;
    /* Adjust the font size as needed */
    line-height: 1.2;
    /* Adjust line height for better readability */
    max-width: calc(100% - 60px);
    /* Ensures text doesn't overflow the cell */
    word-wrap: break-word;
    /* Break long words */
    white-space: normal;
    /* Allows text to wrap */


}

#post-title-authorwp {

    max-width: 290px;
    /* Ensure it fits within the td */

}

.tooltip-container {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
}

.tooltip-text {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position above the span */
    left: 50%;
    margin-left: -80px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container.show .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Modal body */
.modal-body {
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-thumbnail img {
    width: 300px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;

}

.modal-details h2 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}


.search-bar {
    display: flex;
    align-items: center;
    background-color: #faf9f9;
    /* Background color */
    border-radius: 50px;
    /* Rounded corners */
    padding: 1px 10px;
    width: 240px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    box-sizing: border-box;
}

.search-bar i {
    color: #6e6e6e;
    /* Icon color */
    margin: 0 8px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    /* Allow the input to expand */
    width: 100%;
    font-size: 14px;
    color: #6e6e6e;
}

/* Ensure no outline or focus ring appears */
.search-bar input:focus {
    outline: none;
    /* Remove the focus ring */
    box-shadow: none;
    /* Avoid any default box shadow */
    background: transparent;
    border: none;
}

.search-bar input::placeholder {
    color: #b0a9b8;
    /* Placeholder text color */
    font-size: 14px;
}

/* Styling for sort icons */
.sort-icons {
    display: inline-flex;
    flex-direction: column;
    /* Stack icons vertically */
    align-items: center;
    vertical-align: middle;
    margin-left: 5px;

}

.sort-icon {
    font-size: 12px;
    /* Smaller size for icons */
    line-height: 1;
    /* Ensure tight spacing */
    cursor: pointer;
    color: rgb(141, 141, 141);
    text-align: center;
}

/* Hover effect for icons */
.sort-icon:hover {
    color: #0073aa;
    /* Highlight color on hover */
}

.sort-icon.active {
    font-weight: bold;
    color: #0073aa;
}

#loader {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #505050;
    width: 100%;
    margin-top: 47px;
    text-align: center;
    z-index: 9999;
    background: rgba(255, 255, 255, 1);
    padding: 20px 0;
    font-size: 12px;
    font-weight: bold;
    flex-direction: row !important; /* Stacks items vertically */
    gap: 12px;
    align-items: center; /* Centers children horizontally */
    justify-content: center; /* Centers children vertically */
    letter-spacing: 0.5px; /* Adjust for better readability */
}




.author-kit-loader {
    width: 25px;
    padding: 3px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #356bff;
    justify-content: center;
    --_m: 
      conic-gradient(#0000 10%,#000),
      linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
            mask: var(--_m);
    -webkit-mask-composite: source-out;
            mask-composite: subtract;
    animation: l3 1s infinite linear;
    margin: auto;

  }
  @keyframes l3 {to{transform: rotate(1turn)}}
/* body {
    font-family: 'Inter', sans-serif !important;
    background-color: #f4f4f9;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
} */

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, 50%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
.contributors-card {
    background-color: #fff;
    width: 350px;
    height: fit-content;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 16px 25px 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
    /* Fixed position to center in viewport */
    position: fixed;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    
    /* Ensures it stays on top */
    z-index: 9999;
    
    /* Animation */
    opacity: 0; /* Initially hidden */
    animation: slideIn 0.3s ease-out 0.1s forwards; /* 0.3s delay */
}


#header-info-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 6px;
    justify-content: space-between;
}



h3 {
    font-size: 14px;
    color: #777;
    font-weight: 500;
}

.close-btn {
    cursor: pointer;
    font-size: 16px;
    color: #777;
}

.close-btn:hover {
    color: #333;
}

.contributors-list {
    border-top: 1px solid rgb(243, 243, 243);
    padding: 16px 0px;
    flex-grow: 1;
    overflow-y: auto; /* Allow vertical scrolling */
    padding-right: 8px;
    max-height: 200px; /* Limit the height to 300px */
}

.contributor {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #fafafa;
    border-radius: 8px;
}

.contributor:hover {
    background-color: ghostwhite;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px !important;
    border: 1px solid ghostwhite;
}

.details {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: medium;
    font-size: 16px;
    color: #272727;
}

.title {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
