/* ==========================================================================
   whmcwp — Client Area (Account Center) v4 — Whmcwp theme
   Loaded AFTER whmcwp.php / theme-default.css so these rules win on
   equal-specificity selectors. IMPORTANT: this file intentionally never
   sets color / background-color / border-color on brand-tied elements
   (.gonderbtn, .lbtn, .yesilbtn, ul.tab a.active, checkbox/radio ticks...)
   because those are driven by the admin-configurable theme colors
   ($color1/$color2) inside whmcwp.php. Only shape, spacing, layout and
   shadow are modernized here so the site's color customization keeps
   working untouched.
   ========================================================================== */
:root {
    --wsb-radius-sm: 8px;
    --wsb-radius: 14px;
    --wsb-radius-lg: 20px;
    --wsb-shadow: 0 1px 2px rgba(20,24,50,.04), 0 8px 24px rgba(20,24,50,.06);
    --wsb-shadow-md: 0 12px 32px rgba(20,24,50,.10);
    --wsb-border: #eceef4;
    --wsb-bg: #f5f6fa;
    --wsb-text-muted: #7c8194;
}

/* ---------- account area layout shell ---------- */
#basic_client_rightcon {
    box-sizing: border-box;
}

.mpanelleft,
.mpanelright {
    border-radius: var(--wsb-radius) !important;
    box-shadow: var(--wsb-shadow) !important;
    border: none !important;
}

.mpanelrightcon {
    padding: 26px !important;
}

.mpaneltitle {
    border-bottom-color: var(--wsb-border) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 8px;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
}

.mpaneltitle h4 {
    font-size: 17px !important;
    font-weight: 700;
}

.clean-theme-client-left-block {
    border-radius: var(--wsb-radius) !important;
    box-shadow: var(--wsb-shadow) !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.clean-theme-client-left-block-title {
    padding: 16px 20px;
    border-bottom: 1px solid var(--wsb-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clean-theme-client-left-block-title h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.clean-theme-client-left-block-title span {
    font-size: 12px;
    color: var(--wsb-text-muted);
}

.clean-theme-client-left-block .padding20 {
    padding: 18px 20px !important;
}

.clean-theme-client-left-block .gonderbtn,
.clean-theme-client-left-block .yesilbtn {
    display: inline-block;
    width: auto !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    margin-top: 12px !important;
}

/* dashboard widgets */
.wclientblockscon {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.moderncliendblock {
    border-radius: var(--wsb-radius) !important;
    box-shadow: var(--wsb-shadow) !important;
    overflow: hidden;
}

.mpanelrightcon .blue-info,
.mpanelrightcon .green-info,
.mpanelrightcon .red-info,
.mpanelrightcon .orange-info {
    border-radius: var(--wsb-radius-sm) !important;
}

/* buttons — shape/spacing only, colors stay theme-driven */
.gonderbtn,
.yesilbtn,
.lbtn,
.incelebtn {
    border-radius: 999px !important;
    font-weight: 600;
    transition: filter .15s ease, opacity .15s ease;
}

.incelebtn {
    border-radius: var(--wsb-radius-sm) !important;
    padding: 7px 16px !important;
}

.lbtn {
    padding: 8px 16px !important;
}

/* forms */
.formcon {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 18px;
    float: none;
    border-bottom: 1px solid var(--wsb-border);
    padding: 12px 0;
}

.formcon .yuzde20,
.formcon .yuzde25,
.formcon .yuzde30,
.formcon .yuzde33,
.formcon .yuzde35,
.formcon .yuzde40 {
    width: 200px;
    flex: 0 0 auto;
    padding-top: 8px;
}

.formcon .yuzde50,
.formcon .yuzde60,
.formcon .yuzde70,
.formcon .yuzde75,
.formcon .yuzde80,
.formcon .yuzde90 {
    flex: 1 1 240px;
    min-width: 0;
}

/* form save-bar (".guncellebtn" + yuzde* width hack) */
.guncellebtn.yuzde20,
.guncellebtn.yuzde30,
.guncellebtn.yuzde40,
.guncellebtn.yuzde50 {
    width: 220px !important;
    float: right;
    margin-top: 20px !important;
    margin-bottom: 6px;
}

.guncellebtn .gonderbtn,
.guncellebtn .yesilbtn {
    padding: 12px 0 !important;
}

/* checkbox / radio — shape only */
.checkbox-custom + .checkbox-custom-label:before,
.radio-custom + .radio-custom-label:before {
    border-radius: 6px !important;
    width: 19px !important;
    height: 19px !important;
    line-height: 17px !important;
}

.radio-custom + .radio-custom-label:before {
    border-radius: 50% !important;
}

/* tab strip — layout only, active-state color stays theme-driven */
ul.tab {
    border-radius: 12px !important;
    padding: 5px !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--wsb-bg) !important;
    background-image: none !important;
    filter: none !important;
}

ul.tab li {
    float: none !important;
}

ul.tab li a {
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-weight: 600;
}

.tabcontent {
    padding: 20px 2px;
}

/* tables */
.mpanelright table thead tr,
.moderncliendblock table thead tr {
    background: var(--wsb-bg) !important;
}

.mpanelright table thead th,
.moderncliendblock table thead th {
    color: var(--wsb-text-muted) !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 700;
}

.mpanelright tr td {
    border-bottom-color: var(--wsb-border) !important;
}

.modal-foot-btn {
    background: var(--wsb-bg) !important;
    padding: 18px 20px !important;
}

/* DataTables chrome */
.dataTables_filter input {
    border-radius: 999px !important;
    padding: 8px 16px !important;
    background: var(--wsb-bg);
}

.dataTables_paginate .paginate_button {
    border: none !important;
    background: none !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
}

@media (max-width: 900px) {
    .mpanelrightcon {
        padding: 18px !important;
    }
}

/* ---------- site-wide header / nav — shape & shadow only, colors stay theme-driven ---------- */
.clean-theme-header {
    box-shadow: 0 1px 2px rgba(20,24,50,.05);
}

.menu ul li ul {
    border-radius: 0 0 var(--wsb-radius-sm) var(--wsb-radius-sm) !important;
    overflow: hidden;
    box-shadow: var(--wsb-shadow-md);
}

.wclientnotification {
    border-radius: var(--wsb-radius) !important;
    box-shadow: var(--wsb-shadow-md) !important;
    overflow: hidden;
    border: none !important;
}

.wnotifilist {
    border-radius: var(--wsb-radius-sm);
}

.allread {
    border-radius: 0 0 var(--wsb-radius) var(--wsb-radius) !important;
}

/* ---------- site-wide footer ---------- */
.clean-theme-footer .padding20,
footer .padding20 {
    border-radius: var(--wsb-radius-sm);
}

/* ---------- pricing / product cards ---------- */
.tablepaket {
    border-radius: var(--wsb-radius) !important;
    box-shadow: var(--wsb-shadow) !important;
    overflow: hidden;
}

.tablopaketler .gonderbtn {
    border-radius: 999px !important;
}

/* ---------- cart / checkout ---------- */
.sepetright,
.sunucusipside {
    border-radius: var(--wsb-radius) !important;
    box-shadow: var(--wsb-shadow) !important;
}

/* --------------------------------------------------------------------------
   whmcwp brand accents (shape/typography only; colors stay admin-driven)
   -------------------------------------------------------------------------- */
.whmcwp-brand-tagline {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--wsb-text-muted);
}

.whmcwp-brand-tagline strong,
.clean-theme-footer-left strong,
.clientcopyright strong,
.footcopyright strong {
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: lowercase;
}
