/* Tooltip styles for AccessDoor plugin */
.adalc-tooltip-heading {
    position: relative;
    cursor: help;
    display: inline-block;
}

.adalc-tooltip-heading .adalc-tooltip-text {
    left: 102%;
    visibility: hidden;
    width: 450px;
    background: #45536e;
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 8px 12px;
    position: absolute;
    z-index: 10;
    bottom: -35%;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.adalc-tooltip-heading:hover .adalc-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* --- Minimal Switch (Toggle) --- */
.calu-switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
    vertical-align: middle;
    margin-left: 12px;
}

.calu-switch input {
    display: none;
}

.calu-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 34px;
    transition: background 0.3s;
}

.calu-slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 5px;
    bottom: 5px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 6px rgba(2, 62, 138, 0.15);
}

.calu-switch input:checked+.calu-slider {
    background: linear-gradient(90deg, #023e8a 0%, #023e8a 100%);
}

.calu-switch input:checked+.calu-slider:before {
    transform: translateX(21px);
}

.calu-switch .calu-slider {
    box-shadow: 0 2px 8px rgba(2, 62, 138, 0.08);
}

.calu-switch input:disabled+.calu-slider {
    background: #cbd5e1;
    cursor: not-allowed;
}

/**
 * Admin styles for Change Admin Login URL plugin
 *
 * @package Change_Login_URL
 */

/* Main Settings Page */



@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*:root {
    --primary: #023e8a;
    --secondry: #6961a1;
    --secondry-hover: #4f498f;
}

.wrap.calu-settings-page {

    padding: 20px;
    margin: 0px;
    border-radius: 8px;
}

.calu-copy-url {
    position: absolute;
    bottom: 34%;
    right: 12px;
}

.wrap.calu-settings-page h1 {
    margin-bottom: 10px;
    color: #2f2f2f;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    /* background: #45536e; */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
}

/* WordPress Nav Tabs Styling */
.calu-settings-page .nav-tab-wrapper {
    margin: 0 0 20px 0;
    border-top: 0 !important;
    border-bottom: 1px solid #ccc;
    /* border: 0 !important; */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background-color: #fff;
    padding-left: 10px;
    outline: none !important;
}

.calu-settings-page .nav-tab {
    padding: 10px 20px;
    margin: 0 15px -1px 0;
    font-size: 18px;
    font-weight: 600;
    color: #023e8a;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    outline: none !important;
        box-shadow: none !important;
}

.calu-settings-page .nav-tab:hover {
    color: #547AA5;
    background: rgba(84, 122, 165, 0.05);
}

.calu-settings-page .nav-tab-active,
.calu-settings-page .nav-tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    border-bottom: 0px solid #45536e;
}
.calu-security-wrap tr{
    transition: background-color 0.2s ease;
    width: 33%;
    width: 33.33%;
    display: inline-block;
    flex: 0 0 29.50%;
    margin-bottom: 15px;
    margin-right: 15px;
    background: #f1f1f1;
    padding: 12px;
    height: -webkit-fill-available;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
.calu-security-wrap tbody{
           display: flex;
    align-items: center;
    justify-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
}

.calu-security-wrap .form-table th{
    width: 75% !important;
}
/* Form Styling */
.calu-settings-form {
    padding: 15px;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    overflow: hidden;
}
.calu-security-wrap .form-table td{
    width:auto !important;
}

.calu-settings-form h2 {
    display: none;
}

.calu-settings-form .form-table {
    margin: 0;
    padding: 0px;
    background: none;
}

.calu-settings-form p.description {
    padding: 8px !important;
    color: #64748b;
    font-size: 14px !important;
    line-height: 1.6;
    margin-top: 15px;
    border-radius: 10px;
}

.calu-settings-form i {
    margin-right: 10px;
    font-size: 18px;
    color: #45536e;
}

.calu-settings-form p {
    padding: 0px 10px;
    color: #64748b;
    font-size: 16px !important;
    line-height: 1.6;

}

.calu-settings-form .form-table th {
    padding: 10px;
    font-weight: 700;
    color: #2f2f2f;
    vertical-align: top;
    width: auto;
    font-size: 16px;
    padding-bottom: 10px;
    /* background: url(../images/lock-filled.png) no-repeat left 18px top 5px; */
    background-size: 27px;
    /* padding-left: 55px; */
}

.calu-settings-form .form-table td {
    padding: 10px;
    line-height: 1.8;
    display: block;
    width: 100%;
}

.calu-settings-form code {
    padding: 4px 10px;
    background: #e9f4f1;
    border-radius: 6px;
    font-size: 15px;
    color: #30643f;
    font-family: "Roboto", sans-serif;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    width: -webkit-fill-available;
}

/* Role Branding Boxes */
.calu-role-branding-box {
    margin-bottom: 24px;
    padding: 28px;
    /* background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%); */
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.calu-role-branding-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4F5165 0%, #547AA5 50%, #4F5165 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* .calu-role-branding-box:hover {
    border-color: #547AA5;
    box-shadow: 0 8px 16px rgba(84, 122, 165, 0.15);
    transform: translateY(-2px);
} */

.calu-role-branding-box h4 {
    margin: 0 0 20px 0;
    padding: 0 0 16px 0;
    border-bottom: 2px solid #e2e8f0;
    color: #2f2f2f;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
}

.calu-role-branding-box h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #547AA5;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 0 3px rgba(84, 122, 165, 0.2);
}

.calu-role-branding-box p {
    margin: 0 0 20px 0 !important;
}

.calu-role-branding-box p:last-child {
    margin-bottom: 0;
}

.calu-role-branding-box label {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1e293b;
    font-size: 17px;
    letter-spacing: 0.2px;
}

.calu-role-branding-box input[type="text"],
.calu-role-branding-box input[type="url"] {
    width: 100%;
    max-width: 500px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #ffffff;
    font-family: inherit;
    margin-right: 10px;
}

.calu-role-branding-box input[type="text"]:focus,
.calu-role-branding-box input[type="url"]:focus {
    border-color: #547AA5;
    outline: none;
    box-shadow: 0 0 0 4px rgba(84, 122, 165, 0.1);
    background: #ffffff;
}

/* Color Picker Controls */
.calu-role-branding-box .calu-color-value {
    width: 120px;
    max-width: 120px;
    margin-right: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.calu-settings-page input {
    width: 100%;
    max-width: 500px;
    padding: 5px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #ffffff;
    font-family: inherit;

}

.calu-role-branding-box input[type="color"],
.calu-role-branding-box .calu-color-picker {
    width: 55px;
    height: 42px;
    padding: 4px;
    border: 0px solid #e2e8f0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 10px;
    vertical-align: middle;
    margin-top: -3px;
}

.calu-role-branding-box input[type="color"]:hover,
.calu-role-branding-box .calu-color-picker:hover {
    border-color: #547AA5;
    box-shadow: 0 0 0 3px rgba(84, 122, 165, 0.1);
}

.calu-role-branding-box .calu-clear-color {
    height: 41px;
    vertical-align: middle;
    margin-right: 0;
    background: #f05a5a;
    color: #fff;
    border: none;
    padding: 0px 17px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 14px;
    margin-top: -2px;
}

.calu-role-branding-box .calu-clear-color:hover {
    background: #f05a5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.calu-role-branding-box .description {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

/* Image Upload Buttons */
.calu-role-branding-box .calu-upload-logo,
.calu-role-branding-box .calu-upload-bg-image, .calu-accordion-content .calu-copy-admin-design{
    margin-right: 12px;
    background: #023e8a;
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(84, 122, 165, 0.2);
    font-size: 15px;
}
.calu-accordion-content .calu-copy-admin-design{
    margin-bottom: 15px;
}
.calu-role-branding-box .calu-upload-logo:hover,
.calu-role-branding-box .calu-upload-bg-image:hover {
    background: #474044;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(84, 122, 165, 0.3);
    color: #f0f0f1;
}

.calu-role-branding-box .calu-remove-logo,
.calu-role-branding-box .calu-remove-bg-image {
    margin-right: 0;
    background: #f05a5a;
    color: #fff;
    border: #f05a5a;
    padding: 5px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 15px;
}

.calu-role-branding-box .calu-remove-logo:hover,
.calu-role-branding-box .calu-remove-bg-image:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.calu-role-branding-box .calu-logo-preview,
.calu-role-branding-box .calu-bg-image-preview {
    margin-top: 16px;
}

.calu-role-branding-box .calu-logo-preview img,
.calu-role-branding-box .calu-bg-image-preview img {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Info Box */
.calu-info-box {
    margin-top: 30px;
    padding: 28px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-left: 6px solid #f59e0b;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.calu-info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.calu-info-box h3 {
    margin: 0 0 16px 0;
    color: #78350f;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.calu-info-box h3::before {
    content: "\f348";
    font-family: dashicons;
    font-size: 24px;
    margin-right: 12px;
    color: #f59e0b;
    background: #ffffff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.calu-info-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.calu-info-box ul li {
    margin-bottom: 12px;
    padding-left: 32px;
    color: #78350f;
    position: relative;
    line-height: 1.7;
    font-weight: 500;
    font-size: 12px;
}

.calu-info-box ul li:last-child {
    margin-bottom: 0;
}

.calu-info-box ul li::before {
    content: "\f147";
    font-family: dashicons;
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-size: 18px;
    background: #ffffff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2);
}

/* Submit Button */
.calu-settings-form .submit {
    margin: 0;
    padding: 0px;
    border-top: 2px solid #e2e8f0 !important;
    padding-left: 10px;
    padding-top: 22px !important;
    margin-top: 22px;
    text-align: right;
}

.calu-settings-form .submit .button-primary {
    width: auto !important;
    padding: 10px 28px;
    height: auto;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    background: #023e8a;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(84, 122, 165, 0.3);
    cursor: pointer;
}

.calu-settings-form .submit .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(84, 122, 165, 0.4);
    background: linear-gradient(135deg, #474044 0%, #4F5165 100%);
}

.calu-settings-form .submit .button-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(84, 122, 165, 0.3);
}

/* Success Message */
.notice.notice-success {
    border-left-color: #10b981;
    background: #d1fae5;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

/* Checkbox Styling */
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
    /* background: #45536e; */
    border-color: #547AA5;
}

/* Table Enhancements */
.calu-settings-form table {
    border-collapse: separate;
    border-spacing: 0;
}

.calu-settings-form table tr {
    transition: background-color 0.2s ease;
    position: relative;
}

/* .calu-settings-form table tbody > tr:hover {
    color: #000;
} */

.calu-custom-table th {
    color: #fff !important;
}



/******************ramu******************/

.form-table tbody th {
    display: block;
    width: 100% ;
}

.form-table tbody th td {
    width: 100% !important;
    display: block !important;
}

.form-table table.calu-custom-table thead th {
    display: table-cell;
    width: auto !important;
    font-size: 14px;
    padding-bottom: 10px;
    background: transparent;
    padding-left: 20px;
}

.form-table table.calu-custom-table tbody td {
    width: auto !important;
    display: table-cell;
    padding-left: 15px;
}

/* .form-table tr {
    background: #fff;
    margin-bottom: 20px;
    display: block;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
} */
.form-table tbody {
    background: #fff;
    margin-bottom: 20px;
    /* display: block; */
    border-radius: 16px;
    box-shadow: none;
}

.calu-table-wrapper table.calu-custom-table tr {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
}

.form-table input[type="email"] {
    width: calc(100% - 131px);
    height: 42px;
    font-size: 17px;
}

.form-table input.regular-text {
    height: 42px;
    font-size: 17px;
}

.calu-toggle-wrapper {
    /* position: absolute;
    top: 6px;
    right: 20px; */
    position: absolute;
    top: 20px;
    right: 29px;
}

p.description {
    background: #fbf3e6;
    padding: 22px 20px !important;
    box-sizing: border-box;
    width: calc(100% - 40px);
    font-size: 17px !important;
    color: #000 !important;
    border-radius: 10px 10px 0 0;
}

/* Responsive Design */
@media screen and (max-width: 782px) {
    .wrap.calu-settings-page {
        margin: 10px;
        padding: 15px;
    }

    .wrap.calu-settings-page h1 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .calu-settings-form .form-table th,
    .calu-settings-form .form-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .calu-role-branding-box {
        padding: 20px;
    }

    .calu-role-branding-box input[type="text"],
    .calu-role-branding-box input[type="url"] {
        max-width: 100%;
    }

    .calu-settings-form .submit .button-primary {
        width: 100%;
        text-align: center;

    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calu-settings-form,
.calu-info-box,
.calu-role-branding-box {
    animation: fadeIn 0.5s ease-out;
}

/* Custom Scrollbar */
.calu-settings-form::-webkit-scrollbar {
    width: 8px;
}

.calu-settings-form::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.calu-settings-form::-webkit-scrollbar-thumb {
    background: #547AA5;
    border-radius: 4px;
}

.calu-settings-form::-webkit-scrollbar-thumb:hover {
    background: #4F5165;
}

/* Accordion Styling */
/* .calu-accordion-wrapper {
    margin: -32px -32px 0 -32px;
} */

.calu-accordion-item {
    border-bottom: 0px solid #e2e8f0;
    background: #ffffff;
    margin-bottom: 22px;
    /* border-radius: 10px; */
}

.calu-accordion-item:last-child {
    border-bottom: none;
}

.calu-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #f0f0f1;
    cursor: pointer;
    transition: all 0.3s linear;
    border-left: 4px solid transparent;
    border-radius: 8px;
}

.calu-accordion-header:hover {
    background: #eaeef2;
    border-left-color: #023e8a;
}

.calu-settings-form p.description img {
    margin-right: 10px;
    vertical-align: middle;
    width: 20px;
}

.calu-accordion-item.active .calu-accordion-header {
    background: #023e8a;
    border-left-color: #023e8a;
}

.calu-accordion-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    transition: color 0.3s ease;
}

.calu-accordion-item.active .calu-accordion-title {
    color: #fff;
}

.calu-accordion-icon {
    font-size: 14px;
    color: #64748b;
    transition: transform 0.3s ease, color 0.3s ease;
}

.calu-accordion-item.active .calu-accordion-icon {
    transform: rotate(180deg);
    color: #fff;
}

.calu-accordion-content {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.calu-accordion-item.active .calu-accordion-content {
    display: block;
}

/* login form preview */
.accessdoor-login-preview {
    background: #f0f2f5;
    border-radius: 12px;
    width: 75%;
    height: 100%;
    padding: 0;
}

.login-card {
    background: #fff;
    width: 100%;
    margin: auto;
    padding: 0px;
    border-radius: 10px;
    /* box-shadow: 0 12px 25px rgba(0, 0, 0, .08); */
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
    /* aspect-ratio: 1024 / 500; */
    aspect-ratio: 1137 / 500;
}

.login-card input {
    max-width: 100% !important;
    font-size: 12px !important;
    padding: 5px !important;
}

.login-form-preview label {
    font-size: 12px;
    font-weight: 400;
}

.login-logo {
    max-height: 50px;
    margin-bottom: 16px;
}

.login-form-preview {
    background: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    min-width: 250px;
    align-items: flex-start;
    max-width: 30%;
}

.login-card button {
    width: auto;
    padding: 10px;
    background: #2271b1;
    border: none;
    color: #fff;
    border-radius: 4px;
    margin: 15px 0;
}

/* --------- */
.calu-accordion-item .calu-role-branding-box {
    display: flex;
    margin: 0;
    border-radius: 0;
    border: none;
    border-top: none;
    box-shadow: none;
    justify-content: space-between;
    align-items: start;
}

.calu-accordion-item .calu-role-branding-box::before {
    display: none;
}

.calu-accordion-item .calu-role-branding-box:hover {
    transform: none;
    box-shadow: none;
}

/* Custom Table Styling */

.simple-description {

    margin-top: -5px !important;
}

.calu-table-wrapper {
    overflow-x: auto;
    margin: 10px 0px;
    border-radius: 12px;

}

.calu-custom-table {
    width: calc(100% - 40px);
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #45536e;
}

.calu-custom-table thead {
    background: var(--primary);
}

.calu-custom-table thead th {
    padding: 18px 24px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.calu-custom-table thead th:first-child {
    border-radius: 12px 0 0 0;
    max-width: 70px;
    min-width: 160px;
}

.form-table table.calu-custom-table tbody td:nth-child(3) {
    width: 45% !important;
    position: relative;
}

.form-table table.calu-custom-table thead th:nth-child(3) {
    min-width: 58% !important;
    width: 58% !important;
}

.calu-custom-table tbody td:nth-child(1) {

    min-width: 150px;
}

/* .calu-custom-table thead th:nth-child(3) {
    
    max-width: 70px;
} */

.calu-custom-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.calu-custom-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #e2e8f0;
}

.calu-custom-table tbody tr:last-child {
    border-bottom: none;
}

/* .calu-custom-table tbody tr:hover {
    background: linear-gradient(to right, #f8fafc 0%, #f1f5f9 100%);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
} */

.calu-custom-table tbody td {
    padding: 20px 24px;
    font-size: 14px;
    color: #1e293b;
    vertical-align: middle;
}

.calu-custom-table tbody td strong {
    color: #2f2f2f;
    font-weight: 700;
    font-size: 17px;
    font-family: "Roboto", sans-serif;
}

.calu-user-count {
    display: inline-block;
    padding: 0px;
    background: #45536e;
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(84, 122, 165, 0.3);
}

.calu-slug-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #f8fafc;
    font-family: "Roboto", sans-serif;
}

.calu-slug-input:focus {
    border-color: #547AA5;
    outline: none;
    box-shadow: 0 0 0 4px rgba(84, 122, 165, 0.1);
    background: #ffffff;
}

.calu-slug-input::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.calu-url-display {
    display: inline-block;
    padding: 10px 16px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    color: #547AA5;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-weight: 600;
    word-break: break-all;
    max-width: 100%;
}

/* Branding Section - Remove table structure around accordion */
.calu-settings-form table.form-table th:has(+ td .calu-accordion-wrapper),
.calu-settings-form table.form-table th:has(~ td .calu-accordion-wrapper) {
    display: none !important;
}

.calu-settings-form table.form-table td:has(.calu-accordion-wrapper) {
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* Ensure accordion wrapper accounts for any parent padding */
/* table.form-table td .calu-accordion-wrapper {
    margin: -32px -32px 0 -32px;
} */



.calu-settings-page form.calu-settings-form .calu-setting-wrap>div {
    padding: 20px;
    background: #eaeef2;
    border-radius: 8px;
    margin-bottom: 15px;
}

.calu-accordion-item .calu-role-branding-box .calu-setting-wrap {
    width: 442px;
    padding-right: 40px;
}

.calu-settings-page form.calu-settings-form .calu-setting-wrap>div .calu-bg-image-preview img {
    aspect-ratio: 345/ 220;
    width: 100%;
    object-fit: cover;

}

.calu-settings-page form.calu-settings-form .calu-setting-wrap>div br {
    display: none;
}

.calu-settings-page form.calu-settings-form .calu-setting-wrap>div input.calu-color-value {
    width: 56%;
    padding: 6px 16px;
    border: 0;
}

.calu-accordion-item .calu-role-branding-box .calu-setting-wrap span.description {
    padding: 5px 0 5px 0 !important;
}

.calu-accordion-item .calu-role-branding-box .calu-setting-wrap label {
    width: 100%;
}

.calu-settings-form .form-table td .description,
.calu-settings-form .calu-table-wrapper .description {
    display: flex;
    align-items: start;
    padding: 15px !important;
    line-height: normal;
}

.calu-table-wrapper .description img {
    margin-top: 6px;
}

@media (max-width: 1366px) {
    .calu-accordion-item .calu-role-branding-box {
        padding-left: 5px;
        padding-right: 5px;
    }

    .calu-accordion-item .calu-role-branding-box .calu-setting-wrap {
        padding-right: 20px;
    }

    .calu-settings-page form.calu-settings-form .calu-setting-wrap>div input.calu-color-value,
    .calu-role-branding-box input[type="color"],
    .calu-role-branding-box .calu-color-picker {
        margin-right: 5px;
    }

}