.adlhpti-container {
    max-width: 750px;
    margin-top: 24px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
    animation: adlhptiFadeIn 0.4s ease-in-out;
}

@keyframes adlhptiFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.adlhpti-container h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
}

.adlhpti-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
}

.adlhpti-tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    color: #64748b;
}

.adlhpti-tab-button.active {
    border-color: #2271b1;
    color: #2271b1;
    background-color: #f0f7fc;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.adlhpti-tab-content {
    display: none;
}

.adlhpti-tab-content.active {
    display: block;
}

.adlhpti-container .form-table th {
    font-weight: 600;
    color: #1e293b;
    padding: 20px 10px 20px 0;
    width: 180px;
    vertical-align: middle;
}

.adlhpti-container .form-table td {
    padding: 20px 10px;
    vertical-align: middle;
}

/* Slug input wrapper */
.adlhpti-slug-input-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
    max-width: 100%;
}

.adlhpti-slug-input-wrapper:focus-within {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}

.adlhpti-url-prefix {
    background-color: #f8fafc;
    color: #64748b;
    padding: 8px 12px;
    font-size: 14px;
    border-right: 1px solid #e2e8f0;
    user-select: none;
    white-space: nowrap;
}

.adlhpti-container input#adlhpti_custom_login_slug {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    min-width: 200px;
    background: transparent;
}

.adlhpti_desc {
    margin-top: 12px !important;
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.adlhpti_desc a {
    color: #2271b1;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s;
}

.adlhpti_desc a:hover {
    color: #135e96;
    text-decoration: underline;
}

.copy-btn {
    background-color: #2271b1;
    color: #fff;
    padding: 5px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.4;
}

.copy-btn:hover {
    background-color: #135e96;
}

.copy-btn.copied {
    background-color: #10b981;
}

.copy-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
}

/* Submit and Real-time Status */
.adlhpti-submit-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.adlhpti-submit-wrapper p.submit {
    margin: 0 !important;
    padding: 0 !important;
}

.adlhpti-feedback {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.adlhpti-status-saving {
    background-color: #f0f7fc;
    color: #2271b1;
    border: 1px solid #c5d9e8;
}

.adlhpti-status-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.adlhpti-status-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    margin: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

input:checked + .slider-toggle {
    background-color: #2271b1;
}

input:checked + .slider-toggle:before {
    transform: translateX(24px);
}
