/* ==========================================================================
   Admin Panel Styles
   ========================================================================== */
.plh-pro-wrap {
    max-width: 900px;
    margin: 30px auto 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.plh-header-banner {
    background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(34, 113, 177, 0.2);
}
.plh-header-title h1 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}
.plh-header-title p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}
.plh-header-version span {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.plh-form-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e4e7;
    border-top: none;
}
.plh-form-card .form-table {
    margin-top: 0;
}
.plh-form-card .form-table th {
    width: 250px;
    font-weight: 600;
    color: #1d2327;
    padding: 20px 10px 20px 0;
    font-size: 14px;
    vertical-align: middle;
}
.plh-form-card .form-table td {
    padding: 15px 10px;
    vertical-align: middle;
}
.plh-form-card .form-table tr {
    border-bottom: 1px solid #f0f0f1;
}
.plh-form-card .form-table tr:last-child {
    border-bottom: none;
}
.plh-select, .plh-text-input, .plh-input-num {
    border: 1px solid #8c8f94 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    background: #f6f7f7 !important;
    color: #2c3338 !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease;
}
.plh-select:focus, .plh-text-input:focus, .plh-input-num:focus {
    border-color: #2271b1 !important;
    background: #fff !important;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2) !important;
    outline: none;
}
.plh-select { min-width: 240px; }
.plh-text-input { width: 100%; max-width: 320px; }
.plh-input-num { width: 100px; }

.plh-color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.plh-color-input {
    width: 55px;
    height: 38px;
    border: 1px solid #8c8f94;
    border-radius: 6px;
    cursor: pointer;
    background: none;
    padding: 2px;
}
.plh-color-code {
    font-weight: bold;
    direction: ltr;
    background: #f0f0f1;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #dcdcde;
    font-size: 13px;
}
.plh-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    vertical-align: middle;
    margin-left: 12px;
    margin-right: 12px;
}
.plh-switch input { opacity: 0; width: 0; height: 0; }
.plh-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 34px;
}
.plh-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .plh-slider { background-color: #2271b1; }
input:checked + .plh-slider:before { transform: translateX(24px); }
.plh-field-desc {
    font-size: 13px;
    color: #646970;
    vertical-align: middle;
}
.plh-submit-row {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.plh-submit-row .button-primary {
    background: #2271b1 !important;
    border-color: #2271b1 !important;
    padding: 8px 25px !important;
    font-size: 15px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3) !important;
    transition: all 0.2s ease;
}
.plh-submit-row .button-primary:hover {
    background: #135e96 !important;
    transform: translateY(-1px);
}
.plh-credits-text {
    font-size: 13px;
    color: #646970;
}
.plh-credits-text a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}
.plh-credits-text a:hover {
    text-decoration: underline;
}
.description {
    color: #646970;
    font-style: normal;
    margin-top: 6px;
}

/* ==========================================================================
   Frontend Styles
   ========================================================================== */
.plh-container {
    position: fixed !important;
    z-index: 99999 !important;
    direction: ltr !important;
}
.plh-main-btn {
    color: #fff;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    direction: rtl !important;
}
.plh-languages-dropdown {
    position: absolute !important;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    min-width: 130px;
    direction: rtl !important;
}
.plh-container:hover .plh-languages-dropdown {
    opacity: 1;
    visibility: visible;
}
.plh-custom-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.plh-custom-list .plh-lang-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.plh-custom-list .plh-lang-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    padding: 6px 8px !important;
    border-radius: 6px !important;
    background: transparent !important;
    transition: background 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.plh-custom-list .plh-lang-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}
.plh-custom-list .plh-lang-flag {
    width: 22px !important;
    height: auto !important;
    border-radius: 3px !important;
    display: inline-block !important;
    vertical-align: middle;
}