/* ==========================================================================
   Tech Titan portal pages layer (loaded after identity.css).
   Brings the portal pages in line with the approved identity: no legacy
   geometric background, TT Tajawal type, brand cards, forms, buttons, tables.
   Rules prefixed with body:not(.tt-in-cart) leave the order form untouched;
   the order form has its own layer (orderforms/techtitan_cart/css/custom.css).
   ========================================================================== */

:root {
    --ttp-soft:#141820;
    --ttp-muted:#59616B;
    --ttp-gold-soft:#805610;
    --ttp-gold-grad:linear-gradient(110deg,#8D631F 0%,#D3A644 28%,#F6DF96 50%,#C49330 72%,#916317 100%);
    --ttp-line:rgba(201,154,54,.45);
    --ttp-line-wine:rgba(201,154,54,.4);
    --ttp-field-line:rgba(201,154,54,.6);
    --ttp-cta:linear-gradient(110deg,#8D631F 0%,#D3A644 28%,#F6DF96 50%,#C49330 72%,#916317 100%);
    --ttp-card:linear-gradient(180deg,#FFFFFF,#FFFCF6);
    --ttp-shadow:0 14px 30px rgba(128,86,16,.09), 0 2px 6px rgba(20,24,32,.04), inset 0 1px 0 #FFFFFF;
    --ttp-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23805610' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- surfaces: the old theme painted one geometric image behind every secondary surface --- */

[data-background] .box-container .bg-seccolorstyle.bg-seccolorstyle,
body .box-container .bg-seccolorstyle.bg-seccolorstyle {
    background-image:none !important;
    background-color:#FFFCF6 !important;
}
body .main-content .bg-seccolorstyle.bg-white,
body .main-content .service-section.bg-seccolorstyle {
    border:1px solid var(--ttp-line-wine);
    border-radius:20px !important;
    background:var(--ttp-card) !important;
    box-shadow:var(--ttp-shadow);
}
body:not(.tt-in-cart) .box-container .main-content section.p-80.bg-seccolorstyle,
body:not(.tt-in-cart) .box-container .main-content .bg-seccolorstyle.p-50 {
    padding:clamp(20px, 3vw, 40px) !important;
}

/* --- type: the approved face everywhere in the page body (icon fonts are left alone) --- */

/* Headings use the owner's display face (Voxo, the same file the main site uses); everything else stays
   TT Tajawal. Voxo has Arabic letters and digits but no Latin letters, so TT Tajawal follows it in the
   stack. The face is declared exactly as on the main site so both render the same. */
@font-face {
    font-family:'voxo';
    src:url('voxo.woff2') format('woff2');
    font-display:swap;
}
:root {
    --tt-font-body: 'TT Tajawal', Tahoma, Arial, sans-serif;
    --tt-font-head: 'voxo', 'TT Tajawal', Tahoma, Arial, sans-serif;
}
/* the family is a variable: headings (and what is inside them) switch it, everything else keeps the default */
body :is(h1, h2, h3) {
    --tt-font: var(--tt-font-head);
}
body .main-content,
body .main-content *:not(i):not(code):not(pre):not(kbd):not(samp):not(.fa):not([class*="fa-"]):not([class*="glyphicon"]):not([class*="icon-"]):not([class^="ico-"]):not([class*=" ico-"]),
body .loginpage,
body .loginpage *:not(i):not(.fa):not([class*="fa-"]):not([class*="glyphicon"]):not([class*="icon-"]):not([class^="ico-"]):not([class*=" ico-"]) {
    font-family:var(--tt-font, var(--tt-font-body)) !important;
}
/* the order form sets its own face on every element; its headings follow the same decision */
body #order-standard_cart :is(h1, h2, h3):not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.glyphicon),
body #order-standard_cart :is(h1, h2, h3) *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.glyphicon) {
    font-family:var(--tt-font-head) !important;
}
body .main-content .section-heading {
    margin:18px 0 8px;
    color:#141820 !important;
    font-size:clamp(30px, 3.6vw, 46px) !important;
    font-weight:800 !important;
    line-height:1.25;
}
body .main-content .section-subheading {
    color:var(--ttp-soft) !important;
    font-size:17px !important;
    font-weight:400 !important;
    line-height:1.7;
}
body .main-content h2.mergecolor,
body .main-content h3.mergecolor {
    color:#141820 !important;
    font-weight:800 !important;
}

/* --- forms base --- */

body:not(.tt-in-cart) .box-container .main-content .form-control,
body:not(.tt-in-cart) .box-container .main-content select,
body:not(.tt-in-cart) .box-container .main-content textarea {
    border:1px solid var(--ttp-field-line) !important;
    border-radius:12px !important;
    background-color:#FFFCF6 !important;
    background-image:none !important;
    box-shadow:none !important;
    color:#805610 !important;
    font-size:15.5px;
    line-height:1.5;
}
body:not(.tt-in-cart) .box-container .main-content input.form-control,
body:not(.tt-in-cart) .box-container .main-content select.form-control {
    height:50px;
    padding:8px 16px;
}
body:not(.tt-in-cart) .box-container .main-content select.form-control:not([multiple]):not([size]) {
    padding-inline-end:42px;
    background-image:var(--ttp-chevron) !important;
    background-repeat:no-repeat !important;
    background-position:right 16px center !important;
    background-size:12px 8px !important;
    -webkit-appearance:none;
    appearance:none;
}
html[dir="rtl"] body:not(.tt-in-cart) .box-container .main-content select.form-control:not([multiple]):not([size]) {
    background-position:left 16px center !important;
}
body:not(.tt-in-cart) .box-container .main-content select option {
    background:#FFFCF6;
    color:#805610;
}
body:not(.tt-in-cart) .box-container .main-content textarea.form-control {
    height:auto;
    min-height:150px;
    padding:12px 16px;
    line-height:1.8;
    resize:vertical;
}
body:not(.tt-in-cart) .box-container .main-content input[type="file"].form-control {
    height:auto;
    padding:9px 12px;
    cursor:pointer;
}
body:not(.tt-in-cart) .box-container .main-content input[type="file"]::file-selector-button {
    margin-inline-end:12px;
    padding:6px 14px;
    border:1px solid rgba(201,154,54,0.5);
    border-radius:9px;
    background:#FFFCF6;
    color:#805610;
    font:inherit;
    font-weight:800;
    cursor:pointer;
}
body:not(.tt-in-cart) .box-container .main-content .form-control:focus,
body:not(.tt-in-cart) .box-container .main-content select:focus,
body:not(.tt-in-cart) .box-container .main-content textarea:focus {
    border-color:#C99A36 !important;
    outline:0;
    box-shadow:0 0 0 3px rgba(201,154,54,0.2) !important;
}
body:not(.tt-in-cart) .box-container .main-content .form-control::placeholder {
    color:#59616B;
    opacity:1;
}
body:not(.tt-in-cart) .box-container .main-content .form-control[disabled],
body:not(.tt-in-cart) .box-container .main-content .form-control.disabled {
    opacity:.65;
}
body:not(.tt-in-cart) .box-container .main-content label {
    color:var(--ttp-soft) !important;
    font-size:14px !important;
    font-weight:800 !important;
}
body:not(.tt-in-cart) .box-container .main-content h1,
body:not(.tt-in-cart) .box-container .main-content h2,
body:not(.tt-in-cart) .box-container .main-content h3,
body:not(.tt-in-cart) .box-container .main-content h4,
body .box-container .loginpage h1,
body .box-container .loginpage h2,
body .box-container .loginpage h3 {
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content .form-group > label,
body:not(.tt-in-cart) .box-container .main-content .ttp-field > label {
    display:block;
    margin:0 0 7px !important;
    text-align:start;
}
body:not(.tt-in-cart) .box-container .main-content .help-block,
body:not(.tt-in-cart) .box-container .main-content .field-help-text {
    color:var(--ttp-muted) !important;
    font-size:13px;
}

/* --- buttons base --- */

body:not(.tt-in-cart) .box-container .main-content .btn {
    border-radius:12px !important;
    font-weight:800 !important;
}
body:not(.tt-in-cart) .box-container .main-content .btn-default,
body:not(.tt-in-cart) .box-container .main-content .btn-secondary {
    border:1px solid rgba(201,154,54,0.5) !important;
    background:rgba(255,252,246,0.75) !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .btn-default:hover,
body:not(.tt-in-cart) .box-container .main-content .btn-default:focus-visible,
body:not(.tt-in-cart) .box-container .main-content .btn-secondary:hover {
    border-color:var(--ttp-gold-soft) !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content .btn-default.active {
    border-color:#C99A36 !important;
    background:var(--ttp-cta) !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content .btn-warning {
    border:1px solid #C99A36 !important;
    background:#dca745 !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content .btn-danger {
    border:1px solid #C99A36 !important;
    background:#8D631F !important;
    color:#141820 !important;
}
.ttp-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:48px;
    padding:10px 22px;
    border:1px solid #C99A36;
    border-radius:12px;
    background:var(--ttp-cta);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.2), 0 10px 22px rgba(201,154,54,0.224);
    color:#141820 !important;
    font-size:16px;
    font-weight:800;
    line-height:1.3;
    text-align:center;
    text-decoration:none !important;
    transition:transform .2s ease, border-color .2s ease;
}
.ttp-btn:hover,
.ttp-btn:focus-visible {
    transform:translateY(-1px);
}
.ttp-btn.ttp-btn-ghost {
    border-color:rgba(201,154,54,0.55);
    background:rgba(255,252,246,0.75);
    box-shadow:none;
    color:#805610 !important;
}
.ttp-btn.ttp-btn-ghost:hover,
.ttp-btn.ttp-btn-ghost:focus-visible {
    border-color:var(--ttp-gold-soft);
    color:#141820 !important;
}
.ttp-link {
    color:var(--ttp-gold-soft) !important;
    font-weight:800;
    text-decoration:none;
    border-bottom:1px solid rgba(201,154,54,0.45);
}
.ttp-link:hover {
    color:#141820 !important;
}

/* --- shared blocks --- */

.ttp-card {
    padding:clamp(20px, 3vw, 36px);
    border:1px solid var(--ttp-line-wine);
    border-radius:20px;
    background:var(--ttp-card);
    box-shadow:var(--ttp-shadow);
    color:#805610;
    text-align:start;
}
.ttp-h2 {
    margin:34px 0 16px;
    color:#141820;
    font-size:clamp(22px, 2.4vw, 30px);
    font-weight:800;
    line-height:1.4;
    text-align:start;
}
.ttp-pill {
    display:inline-block;
    padding:1px 10px;
    border:1px solid rgba(201,154,54,0.45);
    border-radius:99px;
    background:rgba(220, 167, 69, .1);
    color:#805610;
    font-size:12.5px;
    font-weight:800;
    line-height:1.8;
}
.ttp-fields {
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px 18px;
}
.ttp-field {
    display:flex;
    flex-direction:column;
    min-width:0;
}
.ttp-field-wide {
    grid-column:1 / -1;
}
.ttp-form-actions {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px 18px;
    margin-top:22px;
}
body:not(.tt-in-cart) .box-container .main-content .ttp-form-actions .btn {
    min-width:160px;
    min-height:50px;
    padding:10px 26px;
    font-size:16px;
}
.ttp-captcha {
    max-width:520px;
    margin-top:18px;
}
body:not(.tt-in-cart) .box-container .ttp-captcha .row,
body:not(.tt-in-cart) .box-container .ttp-captcha .row > [class*="col-"] {
    float:none;
    width:100%;
    margin:0;
    padding:0;
}
.ttp-empty-state {
    margin-top:22px;
    padding:clamp(28px, 4vw, 52px);
    border:1px dashed rgba(201,154,54,0.4);
    border-radius:20px;
    background:rgba(255,252,246,0.6);
    text-align:center;
}
.ttp-empty-state h2 {
    margin:0 0 8px;
    color:#141820;
    font-size:clamp(20px, 2.2vw, 26px);
    font-weight:800;
}
.ttp-empty-state p {
    max-width:560px;
    margin:0 auto 20px;
    color:var(--ttp-soft);
    font-size:16px;
    line-height:1.8;
}
.ttp-actions {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
}

/* --- captcha (shared include, also used on the sign-up page) --- */

body:not(.tt-in-cart) .box-container #default-captcha-domainchecker {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:10px 14px;
    margin:0 !important;
    padding:14px;
    border:1px solid var(--ttp-line-wine);
    border-radius:14px;
    background:#FFFCF6;
}
body:not(.tt-in-cart) .box-container #default-captcha-domainchecker p {
    flex:1 1 100%;
    margin:0;
    color:var(--ttp-soft) !important;
    font-size:14px;
    text-align:center;
}
body:not(.tt-in-cart) .box-container #default-captcha-domainchecker > div {
    float:none !important;
    width:auto !important;
    margin:0;
    padding:0;
}
body:not(.tt-in-cart) .box-container #default-captcha-domainchecker #inputCaptchaImage {
    display:block;
    border-radius:8px;
}
body:not(.tt-in-cart) .box-container #default-captcha-domainchecker #inputCaptcha {
    width:150px !important;
    height:44px;
    padding:6px 10px !important;
    direction:ltr;
    text-align:center;
    letter-spacing:.12em;
}
body:not(.tt-in-cart) .box-container #google-recaptcha-domainchecker {
    display:flex;
    justify-content:center;
}

/* --- alerts --- */

body:not(.tt-in-cart) .box-container .main-content .alert {
    padding:14px 18px;
    border:1px solid rgba(201,154,54,0.4) !important;
    border-radius:14px;
    background:rgba(220, 167, 69, .08) !important;
    color:#805610 !important;
    font-size:15px;
    line-height:1.8;
}
body:not(.tt-in-cart) .box-container .main-content .alert-success,
body:not(.tt-in-cart) .box-container .main-content .alert.bg-success {
    border-color:rgba(86, 200, 130, .45) !important;
    background:rgba(46, 160, 90, .12) !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content .alert-danger,
body:not(.tt-in-cart) .box-container .main-content .alert-error {
    border-color:rgba(201,154,54,0.5) !important;
    background:rgba(201,154,54,0.06) !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .alert ul {
    margin:6px 0 0;
    padding-inline-start:20px;
}
body:not(.tt-in-cart) .box-container .main-content .alert a {
    color:#141820 !important;
    text-decoration:underline;
}

/* --- markdown editor (ticket forms) --- */

body:not(.tt-in-cart) .box-container .main-content .md-editor {
    overflow:hidden;
    border:1px solid var(--ttp-field-line) !important;
    border-radius:14px;
    background:#FFFCF6;
}
body:not(.tt-in-cart) .box-container .main-content .md-editor.active {
    border-color:#C99A36 !important;
}
body:not(.tt-in-cart) .box-container .main-content .md-editor > .md-header,
body:not(.tt-in-cart) .box-container .main-content .md-editor > .md-footer {
    padding:8px 10px;
    border:0;
    background:#FFFCF6 !important;
    color:var(--ttp-muted) !important;
    font-size:12.5px;
}
body:not(.tt-in-cart) .box-container .main-content .md-editor > textarea.form-control,
body:not(.tt-in-cart) .box-container .main-content .md-editor > .md-preview {
    border:0 !important;
    border-radius:0 !important;
    background-color:#FFFCF6 !important;
    box-shadow:none !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .md-editor .btn {
    min-height:0;
    padding:6px 10px !important;
    border-radius:8px !important;
    font-size:13px !important;
}

/* --- ticket form --- */

body:not(.tt-in-cart) .box-container .main-content .open-ticket p.text-center {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin:22px 0 0;
}
body:not(.tt-in-cart) .box-container .main-content .open-ticket p.text-center .btn {
    min-width:150px;
    min-height:50px;
}
body:not(.tt-in-cart) .box-container .main-content .open-ticket .btn-block {
    min-height:50px;
}
body:not(.tt-in-cart) .box-container .main-content .ticket-attachments-message {
    margin-top:8px;
    color:var(--ttp-muted) !important;
    font-size:13px;
}

/* --- client area lists (dataTables): table, status pills, search, pagination --- */

body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list {
    width:100% !important;
    margin:12px 0 !important;
    overflow:hidden;
    border:1px solid var(--ttp-line-wine) !important;
    border-radius:18px !important;
    border-collapse:separate;
    border-spacing:0;
    background-color:#FFFCF6 !important;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list thead th {
    padding:16px 18px !important;
    border:0 !important;
    border-radius:0 !important;
    background-color:#FFFCF6 !important;
    color:#805610 !important;
    font-size:14px !important;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody td {
    padding:14px 18px !important;
    border:0 !important;
    border-top:1px solid rgba(201,154,54,0.084) !important;
    background-color:transparent !important;
    color:#805610 !important;
    font-size:14.5px;
    font-weight:400;
    letter-spacing:0;
    vertical-align:middle;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr:nth-child(odd) td {
    background-color:rgba(201,154,54,0.012) !important;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr:hover td {
    background-color:rgba(201,154,54,0.042) !important;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list tbody td a:not(.btn) {
    color:var(--ttp-gold-soft) !important;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list .border-left {
    border-color:rgba(201,154,54,0.35) !important;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list .ticket-number {
    color:var(--ttp-gold-soft) !important;
    font-style:normal;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list .ticket-subject {
    color:#805610 !important;
    font-style:normal;
}
body:not(.tt-in-cart) .box-container .main-content table.table-list .ticket-subject.unread {
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content .label.status,
body:not(.tt-in-cart) .box-container .main-content table.table-list tbody td .status {
    display:inline-block;
    padding:3px 12px !important;
    border-width:1px !important;
    border-style:solid !important;
    border-radius:99px !important;
    background-color:rgba(201,154,54,0.033) !important;
    font-size:12.5px !important;
    font-weight:800;
    line-height:1.6;
}
body:not(.tt-in-cart) .box-container .main-content .status:not(.status-custom) {
    border-color:rgba(201,154,54,0.308) !important;
    color:#59616B !important;
}
body:not(.tt-in-cart) .box-container .main-content .status.status-paid,
body:not(.tt-in-cart) .box-container .main-content .status.status-active,
body:not(.tt-in-cart) .box-container .main-content .status.status-completed,
body:not(.tt-in-cart) .box-container .main-content .status.status-answered {
    border-color:rgba(86, 200, 130, .55) !important;
    background-color:rgba(46, 160, 90, .14) !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content .status.status-pending,
body:not(.tt-in-cart) .box-container .main-content .status.status-open,
body:not(.tt-in-cart) .box-container .main-content .status.status-customer-reply,
body:not(.tt-in-cart) .box-container .main-content .status.status-pendingtransfer,
body:not(.tt-in-cart) .box-container .main-content .status.status-paymentpending,
body:not(.tt-in-cart) .box-container .main-content .status.status-draft,
body:not(.tt-in-cart) .box-container .main-content .status.status-inprogress,
body:not(.tt-in-cart) .box-container .main-content .status.status-onhold,
body:not(.tt-in-cart) .box-container .main-content .status.status-grace {
    border-color:rgba(201,154,54,0.6) !important;
    background-color:rgba(220, 167, 69, .12) !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .status.status-unpaid,
body:not(.tt-in-cart) .box-container .main-content .status.status-overdue,
body:not(.tt-in-cart) .box-container .main-content .status.status-suspended,
body:not(.tt-in-cart) .box-container .main-content .status.status-expired,
body:not(.tt-in-cart) .box-container .main-content .status.status-redemption,
body:not(.tt-in-cart) .box-container .main-content .status.status-fraud,
body:not(.tt-in-cart) .box-container .main-content .status.status-terminated,
body:not(.tt-in-cart) .box-container .main-content .status.status-collections {
    border-color:rgba(201,154,54,0.6) !important;
    background-color:rgba(201,154,54,0.084) !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .dataTables_wrapper .dataTables_filter input.form-control {
    width:min(320px, 100%);
    padding:8px 16px 8px 42px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='%23dca745' stroke-width='2'/%3E%3Cpath d='M16.5 16.5L21 21' stroke='%23dca745' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat:no-repeat !important;
    background-position:left 14px center !important;
    background-size:16px 16px !important;
}
html[dir="rtl"] body:not(.tt-in-cart) .box-container .main-content .dataTables_wrapper .dataTables_filter input.form-control {
    padding:8px 42px 8px 16px;
    background-position:right 14px center !important;
}
body:not(.tt-in-cart) .box-container .main-content .dataTables_wrapper .dataTables_info,
body:not(.tt-in-cart) .box-container .main-content .dataTables_wrapper .dataTables_length label {
    color:var(--ttp-muted) !important;
    font-size:14px !important;
    font-weight:400 !important;
}
body:not(.tt-in-cart) .box-container .main-content .pagination > li > a,
body:not(.tt-in-cart) .box-container .main-content .pagination > li > span {
    margin:0 3px;
    padding:6px 13px !important;
    border:1px solid rgba(201,154,54,0.4) !important;
    border-radius:10px !important;
    background-color:rgba(255,252,246,0.75) !important;
    color:#805610 !important;
    font-size:14px !important;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content .pagination > li.active > a,
body:not(.tt-in-cart) .box-container .main-content .pagination > li.active > span {
    border-color:#C99A36 !important;
    background-color:#dca745 !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content .pagination > li.disabled > a {
    opacity:.5;
}
body:not(.tt-in-cart) .box-container .main-content .progress {
    border-radius:99px;
    background-color:rgba(201,154,54,0.044) !important;
    box-shadow:none;
}
body:not(.tt-in-cart) .box-container .main-content input[type="checkbox"],
body:not(.tt-in-cart) .box-container .main-content input[type="radio"] {
    accent-color:#dca745;
}

/* --- phone field (intl-tel-input) in portal forms --- */

body:not(.tt-in-cart) .box-container .main-content .intl-tel-input {
    display:block;
    width:100%;
}
body:not(.tt-in-cart) .box-container .main-content .intl-tel-input .flag-container {
    direction:ltr;
}
body:not(.tt-in-cart) .box-container .main-content .intl-tel-input .selected-flag {
    border-radius:11px 0 0 11px;
    background-color:rgba(201,154,54,0.033) !important;
}
body:not(.tt-in-cart) .box-container .main-content .intl-tel-input.separate-dial-code .selected-dial-code {
    padding-right:0 !important;
    direction:ltr;
    color:#805610;
    white-space:nowrap;
}
body:not(.tt-in-cart) .box-container .main-content .intl-tel-input .country-list {
    border:1px solid var(--ttp-field-line);
    border-radius:12px;
    background:#FFFCF6;
    color:#805610;
}
body:not(.tt-in-cart) .box-container .main-content .intl-tel-input .country-list .country.highlight {
    background:rgba(220, 167, 69, .14);
}

/* --- client area: panels, list groups, tabs, plain tables --- */

body:not(.tt-in-cart) .box-container .main-content .panel {
    border:1px solid var(--ttp-line-wine) !important;
    border-radius:16px !important;
    background-color:#FFFCF6 !important;
    box-shadow:none !important;
}
/* corners are rounded on the first and last block instead of clipping the panel, so menus inside a panel stay visible */
body:not(.tt-in-cart) .box-container .main-content .panel > :first-child {
    border-top-left-radius:15px !important;
    border-top-right-radius:15px !important;
}
body:not(.tt-in-cart) .box-container .main-content .panel > :last-child,
body:not(.tt-in-cart) .box-container .main-content .panel > .list-group:last-child > .list-group-item:last-child {
    border-bottom-right-radius:15px !important;
    border-bottom-left-radius:15px !important;
}
body:not(.tt-in-cart) .box-container .main-content .panel > .panel-heading {
    padding:14px 18px;
    border:0 !important;
    border-bottom:1px solid rgba(201,154,54,0.098) !important;
    background:linear-gradient(115deg, #FFFCF6, #FFFCF6) !important;
}
body:not(.tt-in-cart) .box-container .main-content .panel > .panel-heading,
body:not(.tt-in-cart) .box-container .main-content .panel > .panel-heading .panel-title {
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .panel > .panel-heading .panel-title {
    margin:0;
    font-size:16px;
    font-weight:800;
    line-height:1.5;
}
body:not(.tt-in-cart) .box-container .main-content .panel-danger > .panel-heading {
    background:linear-gradient(115deg, #8D631F, #FFFCF6) !important;
}
body:not(.tt-in-cart) .box-container .main-content .panel-danger > .panel-heading,
body:not(.tt-in-cart) .box-container .main-content .panel-danger > .panel-heading .panel-title {
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .panel > .panel-footer {
    border:0 !important;
    border-top:1px solid rgba(201,154,54,0.098) !important;
    background:rgba(201,154,54,0.017) !important;
    color:var(--ttp-muted) !important;
    font-size:13.5px;
}
body:not(.tt-in-cart) .box-container .main-content .list-group-item {
    border-color:rgba(201,154,54,0.098) !important;
}
body:not(.tt-in-cart) .box-container .main-content a.list-group-item:hover,
body:not(.tt-in-cart) .box-container .main-content a.list-group-item:focus-visible {
    background-color:rgba(220, 167, 69, .08) !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content a.list-group-item.active,
body:not(.tt-in-cart) .box-container .main-content a.list-group-item.active:hover,
body:not(.tt-in-cart) .box-container .main-content a.list-group-item.active:focus {
    background-color:rgba(220, 167, 69, .16) !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .badge {
    border-radius:99px;
    background-color:rgba(220, 167, 69, .2) !important;
    color:#805610 !important;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content .nav-tabs {
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    margin:0;
    padding:0;
    border-bottom:1px solid var(--ttp-line-wine) !important;
}
body:not(.tt-in-cart) .box-container .main-content .nav-tabs::before,
body:not(.tt-in-cart) .box-container .main-content .nav-tabs::after {
    display:none;
}
body:not(.tt-in-cart) .box-container .main-content .nav-tabs > li {
    float:none;
    margin:0 0 -1px;
}
body:not(.tt-in-cart) .box-container .main-content .nav-tabs > li > a {
    margin:0;
    padding:10px 16px;
    border:1px solid transparent !important;
    border-radius:12px 12px 0 0 !important;
    background-color:transparent !important;
    color:#805610 !important;
    font-size:14px;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content .nav-tabs > li > a:hover,
body:not(.tt-in-cart) .box-container .main-content .nav-tabs > li > a:focus-visible {
    border-color:rgba(201,154,54,0.3) rgba(201,154,54,0.3) transparent !important;
    background-color:rgba(220, 167, 69, .06) !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content .nav-tabs > li.active > a,
body:not(.tt-in-cart) .box-container .main-content .nav-tabs > li.active > a:hover,
body:not(.tt-in-cart) .box-container .main-content .nav-tabs > li.active > a:focus {
    border-color:var(--ttp-line-wine) var(--ttp-line-wine) rgba(201,154,54,0.35) !important;
    background-color:#FFFCF6 !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content table.table:not(.table-list) > thead > tr > th {
    border-bottom:1px solid var(--ttp-line-wine) !important;
    background-color:#FFFCF6;
    color:#805610 !important;
    font-size:14px;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content table.table:not(.table-list) > tbody > tr > td {
    border-color:rgba(201,154,54,0.098) !important;
    font-size:14.5px;
}
body:not(.tt-in-cart) .box-container .main-content .table-striped > tbody > tr:nth-of-type(odd) {
    background-color:rgba(201,154,54,0.012) !important;
}
body:not(.tt-in-cart) .box-container .main-content .table-hover > tbody > tr:hover {
    background-color:rgba(201,154,54,0.042) !important;
}

/* --- client area: service details --- */

body:not(.tt-in-cart) .box-container .main-content .product-overbox {
    border:1px solid #C99A36 !important;
    border-radius:20px !important;
    background-image:radial-gradient(circle at 85% 0, rgba(201,154,54,0.132), transparent 46%), linear-gradient(135deg, #FFFCF6, #FFFCF6 60%, #FFFCF6) !important;
}
body:not(.tt-in-cart) .box-container .main-content .product-overbox .prod-info-abso i {
    border:1px solid rgba(201,154,54,0.6) !important;
    background-color:rgba(220, 167, 69, .12) !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .product-overbox .prod-info-abso h3 {
    margin-top:14px;
    padding:0 16px;
    border:0 !important;
    color:#141820 !important;
    font-size:22px !important;
    font-weight:800;
    line-height:1.4;
}
body:not(.tt-in-cart) .box-container .main-content .product-overbox .prod-info-abso h4 {
    margin:4px 0 0;
    color:#805610 !important;
    font-size:13.5px !important;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content .product-overbox .product-status-text {
    border:1px solid rgba(201,154,54,0.308);
    border-radius:10px !important;
    background-color:rgba(201,154,54,0.033) !important;
    color:#59616B !important;
    font-size:13px !important;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content .product-overbox.active .product-status-text,
body:not(.tt-in-cart) .box-container .main-content .product-overbox.completed .product-status-text {
    border-color:rgba(86, 200, 130, .55);
    background-color:rgba(46, 160, 90, .16) !important;
    color:#141820 !important;
}
body:not(.tt-in-cart) .box-container .main-content .product-overbox.pending .product-status-text {
    border-color:rgba(201,154,54,0.6);
    background-color:rgba(220, 167, 69, .14) !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .product-overbox.suspended .product-status-text,
body:not(.tt-in-cart) .box-container .main-content .product-overbox.terminated .product-status-text,
body:not(.tt-in-cart) .box-container .main-content .product-overbox.fraud .product-status-text {
    border-color:rgba(201,154,54,0.6);
    background-color:rgba(201,154,54,0.084) !important;
    color:#805610 !important;
}
body:not(.tt-in-cart) .box-container .main-content .product-actions-wrapper .btn {
    margin-top:12px;
}
body:not(.tt-in-cart) .box-container .main-content .overview-box.products-details {
    overflow:hidden;
    border:1px solid var(--ttp-line-wine) !important;
    border-radius:20px !important;
    background:#FFFCF6;
    text-align:start;
}
body:not(.tt-in-cart) .box-container .main-content .overview-box.products-details span {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 20px !important;
    border:0 !important;
    border-bottom:1px solid rgba(201,154,54,0.084) !important;
    color:var(--ttp-muted) !important;
    font-size:13.5px !important;
}
body:not(.tt-in-cart) .box-container .main-content .overview-box.products-details span:last-child {
    border-bottom:0 !important;
}
body:not(.tt-in-cart) .box-container .main-content .overview-box.products-details strong {
    display:inline !important;
    margin:0 !important;
    padding:0 !important;
    border-radius:0 !important;
    background:none !important;
    color:#141820 !important;
    font-size:15px !important;
    font-weight:800;
}
body:not(.tt-in-cart) .box-container .main-content div.product-details-tab-container {
    padding:20px;
    border:1px solid var(--ttp-line-wine) !important;
    border-top:0 !important;
    border-radius:0 0 16px 16px !important;
    background-color:#FFFCF6 !important;
    color:#805610;
}
body:not(.tt-in-cart) .box-container .main-content .product-details-tab-container .row {
    margin:0;
    padding:9px 0;
    border-bottom:1px solid rgba(201,154,54,0.084);
}
body:not(.tt-in-cart) .box-container .main-content .product-details-tab-container .tab-pane > .row:last-of-type {
    border-bottom:0;
}
body:not(.tt-in-cart) .box-container .main-content .product-details-tab-container .row strong {
    color:var(--ttp-gold-soft);
    font-weight:800;
}

/* alerts that carry an action button (unpaid or overdue invoice of a service) */
body .box-container .main-content #alertUnpaidInvoice.alert,
body .box-container .main-content #alertOverdueInvoice.alert {
    display:flex;
    flex-direction:row-reverse;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:10px 16px;
}
body .box-container .main-content #alertUnpaidInvoice.alert .pull-right,
body .box-container .main-content #alertOverdueInvoice.alert .pull-right {
    position:static !important;
    float:none !important;
    font-size:inherit;
}
body .box-container .main-content #alertUnpaidInvoice.alert .pull-right a.btn,
body .box-container .main-content #alertOverdueInvoice.alert .pull-right a.btn {
    padding:7px 16px;
    border:1px solid #C99A36 !important;
    background:var(--ttp-cta) !important;
    color:#141820 !important;
    font-size:13.5px;
    text-decoration:none !important;
}

/* --- page menu (the sidebar of each page lives in a dropdown next to the page title) --- */

.ttp-dropside-label {
    display:none;
}
body .box-container .main-content .dropnav-header-lined button.dropside-content {
    border:1px solid rgba(201,154,54,0.45) !important;
    background:rgba(255,252,246,0.75) !important;
    color:#805610 !important;
}
body .box-container .main-content .dropnav-header-lined button.dropside-content:hover,
body .box-container .main-content .dropnav-header-lined.open button.dropside-content {
    border-color:var(--ttp-gold-soft) !important;
    background:#FFFCF6 !important;
    color:#141820 !important;
    opacity:1;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu {
    padding:18px !important;
    border:1px solid var(--ttp-line-wine) !important;
    border-radius:18px !important;
    background-color:#FFFCF6 !important;
    box-shadow:0 24px 50px rgba(20,24,32,0.132) !important;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu .item-drop-side {
    margin-bottom:14px;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu .item-drop-side:last-child {
    margin-bottom:0;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu .panel-heading {
    padding:4px 10px;
    border:0 !important;
    background:transparent !important;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu .panel-title {
    color:var(--ttp-gold-soft) !important;
    font-size:14px;
    font-weight:800;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu .list-group-item {
    padding:8px 12px;
    border:0 !important;
    border-radius:10px !important;
    background-color:transparent !important;
    color:#805610 !important;
    font-size:14.5px;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu a.list-group-item:hover,
body .box-container .main-content .dropnav-header-lined .dropdown-menu a.list-group-item:focus-visible {
    background-color:rgba(220, 167, 69, .1) !important;
    color:#141820 !important;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu a.list-group-item.active {
    background-color:rgba(220, 167, 69, .16) !important;
    box-shadow:inset 0 0 0 1px rgba(201,154,54,0.4);
    color:#805610 !important;
}
body .box-container .main-content .dropnav-header-lined .dropdown-menu .list-group-item.disabled {
    opacity:.5;
}
@media (max-width: 992px) {
    /* the old theme moved this button up into its own header; the current header covers that spot */
    body .box-container .main-content .dropnav-header-lined {
        position:relative;
        top:auto !important;
        right:auto !important;
        left:auto !important;
        display:flex;
        flex-direction:column;
        align-items:center;
        margin:12px 0 4px;
    }
    body .box-container .main-content .dropnav-header-lined button.dropside-content {
        display:inline-flex;
        align-items:center;
        gap:8px;
        width:auto;
        height:42px;
        padding:0 16px;
        border-radius:12px;
        font-size:14px;
    }
    .ttp-dropside-label {
        display:inline;
        font-weight:800;
    }
    /* on phones and tablets the menu opens in the page flow, so it is never cut off or left hanging over the footer */
    body .box-container .main-content .dropnav-header-lined .dropdown-menu {
        position:static !important;
        display:none !important;
        float:none;
        width:100%;
        min-width:0;
        margin:10px 0 0;
        opacity:1 !important;
        visibility:visible !important;
        transform:none !important;
        text-align:start;
    }
    body .box-container .main-content .dropnav-header-lined.open > .dropdown-menu {
        display:block !important;
    }
}

/* --- client area: corrections to old global button and alert rules --- */

/* the old theme pinned every "success" button to a 180px block with 18px text */
body:not(.tt-in-cart) .box-container .main-content .btn.btn-success {
    width:auto;
    font-size:15px;
}
body:not(.tt-in-cart) .box-container .main-content .btn.btn-success:not(.btn-block) {
    display:inline-block;
}
body:not(.tt-in-cart) .box-container .main-content .btn.btn-block {
    display:block;
    width:100%;
}
body:not(.tt-in-cart) .box-container .main-content .product-actions-wrapper .btn {
    display:block;
    width:100%;
    min-height:50px;
    padding:12px 20px;
    font-size:15.5px;
}
body .box-container .main-content #alertUnpaidInvoice.alert .pull-right,
body .box-container .main-content #alertOverdueInvoice.alert .pull-right {
    top:auto;
    right:auto;
    transform:none !important;
}
@media (max-width: 639px) {
    /* plain tables keep their columns and scroll inside their own box instead of widening the page */
    body:not(.tt-in-cart) .box-container .main-content table.table:not(.table-list) {
        display:block;
        max-width:100%;
        overflow-x:auto;
    }
}

/* --- page menu and modals: layering and duplicates --- */

/* the content area sits above the footer, so an open page menu is not covered on short pages */
body .box-container .wrapper.sec-normal {
    z-index:2;
}
/* the menu already lists every link; the extra "select" copy meant for phones only repeated it */
body .box-container .main-content .dropnav-header-lined .dropdown-menu > .panel.hidden-lg.hidden-md {
    display:none !important;
}

/* --- modals (generate password, confirmations, ajax dialogs) --- */

body .modal,
body .modal *:not(i):not(.fa):not([class*="fa-"]):not([class*="glyphicon"]):not([class*="icon-"]):not([class^="ico-"]):not([class*=" ico-"]) {
    font-family:'TT Tajawal', Tahoma, Arial, sans-serif !important;
}
body .modal .modal-content {
    overflow:hidden;
    border:1px solid var(--ttp-line-wine) !important;
    border-radius:20px !important;
    background:#FFFCF6 !important;
    box-shadow:0 30px 70px rgba(20,24,32,0.154) !important;
    color:#805610 !important;
}
body .modal .modal-header {
    padding:16px 22px;
    border:0 !important;
    border-bottom:1px solid rgba(201,154,54,0.112) !important;
    border-radius:0 !important;
    background:linear-gradient(115deg, #FFFCF6, #FFFCF6) !important;
}
body .modal .modal-title {
    color:#805610 !important;
    font-size:18px !important;
    font-weight:800 !important;
    line-height:1.5;
}
body .modal .modal-header .close {
    color:#805610 !important;
    opacity:1;
    text-shadow:none;
}
body .modal .modal-body {
    padding:20px 22px;
    background:transparent !important;
    color:#805610 !important;
}
body .modal .modal-body label {
    padding-top:0;
    color:var(--ttp-soft) !important;
    font-size:14px !important;
    font-weight:800 !important;
    text-align:start;
}
body .modal .modal-body .form-control {
    height:48px !important;
    padding:8px 14px !important;
    border:1px solid var(--ttp-field-line) !important;
    border-radius:12px !important;
    background-color:#FFFCF6 !important;
    box-shadow:none !important;
    color:#805610 !important;
    font-size:15.5px;
}
body .modal .modal-body .form-control:focus {
    border-color:#C99A36 !important;
    box-shadow:0 0 0 3px rgba(201,154,54,0.2) !important;
}
body .modal #inputGeneratePasswordOutput {
    direction:ltr;
    text-align:left;
    letter-spacing:.04em;
}
body .modal .btn {
    display:inline-block !important;
    width:auto !important;
    min-height:44px;
    margin:0 !important;
    padding:9px 18px !important;
    border-radius:12px !important;
    font-size:14.5px !important;
    font-weight:800 !important;
    line-height:1.5;
}
body .modal .btn-primary,
body .modal .btn-success,
body .modal .btn-default-yellow-fill {
    border:1px solid #C99A36 !important;
    background:var(--ttp-cta) !important;
    color:#141820 !important;
}
body .modal .btn-default {
    border:1px solid rgba(201,154,54,0.5) !important;
    background:rgba(255,252,246,0.75) !important;
    color:#805610 !important;
}
body .modal .modal-body .row > [class*="col-"].text-right {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    text-align:start;
}
body .modal .modal-footer {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:16px 22px;
    border:0 !important;
    border-top:1px solid rgba(201,154,54,0.112) !important;
    border-radius:0 !important;
    background:rgba(201,154,54,0.011) !important;
}
body .modal .modal-footer::before,
body .modal .modal-footer::after {
    display:none;
}
body .modal .alert {
    border:1px solid rgba(201,154,54,0.5) !important;
    border-radius:12px;
    background:rgba(201,154,54,0.06) !important;
    color:#805610 !important;
}
body .modal-backdrop.in {
    opacity:.72;
}

/* --- department / legacy service cards --- */

body .main-content .service-section.bg-seccolorstyle {
    position:relative;
    display:flex;
    flex-direction:column;
    gap:12px;
    height:auto;
    min-height:0;
    margin-bottom:20px;
    padding:24px !important;
    overflow:hidden;
    text-align:start;
}
body .main-content .service-section .badge.feat {
    position:static;
    align-self:flex-start;
    padding:3px 12px;
    border:1px solid var(--ttp-line);
    border-radius:99px;
    background:rgba(220, 167, 69, .1) !important;
    color:#805610 !important;
    font-size:12.5px;
    font-weight:800;
}
body .main-content .service-section .title {
    margin:0;
    color:#141820 !important;
    font-size:21px;
    font-weight:800;
    line-height:1.5;
}
body .main-content .service-section .subtitle {
    margin:0;
    color:var(--ttp-soft) !important;
    font-size:15px;
    line-height:1.8;
}
body .main-content .service-section img {
    display:block;
    max-width:100%;
    height:auto;
    margin:0 0 10px;
    border-radius:14px;
}
body .main-content .service-section .btn {
    align-self:flex-start;
    margin-top:auto;
}

/* --- knowledgebase --- */

.ttp-searchcard {
    display:block;
    padding:clamp(22px, 3.4vw, 44px);
    border:1px solid #C99A36;
    border-radius:24px;
    background:radial-gradient(circle at 92% -12%, rgba(201,154,54,0.144), transparent 44%), linear-gradient(135deg, #FFFCF6, #FFFCF6 60%, #FFFCF6);
    box-shadow:var(--ttp-shadow);
}
body:not(.tt-in-cart) .box-container .main-content .ttp-searchcard > label {
    display:block;
    max-width:860px;
    margin:0 auto 10px !important;
    color:var(--ttp-gold-soft) !important;
    text-align:start;
}
.ttp-searchbar {
    display:flex;
    align-items:center;
    gap:10px;
    max-width:860px;
    margin:0 auto;
    padding:8px;
    border:1px solid rgba(201,154,54,0.5);
    border-radius:18px;
    background:rgba(255,255,255,0.8);
}
body:not(.tt-in-cart) .box-container .main-content .ttp-searchbar .form-control {
    flex:1 1 auto;
    width:auto;
    min-width:0;
    height:54px;
    padding:0 12px;
    border:0 !important;
    border-radius:12px !important;
    background-color:transparent !important;
    box-shadow:none !important;
    font-size:17px;
}
body:not(.tt-in-cart) .box-container .main-content .ttp-searchbar .btn {
    flex:none;
    width:auto;
    min-width:120px;
    height:54px;
    margin:0;
    padding:0 24px;
    border-radius:13px !important;
    font-size:16px;
}
body .box-container .main-content #btnKnowledgebaseSearch {
    border-radius:13px !important;
}
.ttp-kb-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
    gap:14px;
}
.ttp-kb-cat {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    min-width:0;
    padding:20px;
    border:1px solid var(--ttp-line-wine);
    border-radius:18px;
    background:var(--ttp-card);
    text-align:start;
    text-decoration:none !important;
    transition:border-color .2s ease, transform .2s ease;
}
.ttp-kb-cat:hover,
.ttp-kb-cat:focus-visible {
    border-color:var(--ttp-gold-soft);
    transform:translateY(-2px);
}
.ttp-kb-cat strong {
    color:#141820;
    font-size:18px;
    font-weight:800;
    line-height:1.5;
}
.ttp-kb-cat p {
    margin:0;
    color:var(--ttp-soft);
    font-size:14.5px;
    line-height:1.7;
}
.ttp-kb-list {
    display:grid;
    gap:12px;
}
.ttp-article-title {
    margin:0 0 14px;
    color:#141820;
    font-size:clamp(22px, 2.4vw, 30px);
    font-weight:800;
    line-height:1.4;
}
.ttp-article-body h1,
.ttp-article-body h2,
.ttp-article-body h3,
.ttp-article-body h4 {
    margin:22px 0 10px;
    color:#141820;
    font-size:21px;
    font-weight:800;
    line-height:1.45;
}
.ttp-article-body h3,
.ttp-article-body h4 {
    font-size:18.5px;
}
.ttp-article-body ul,
.ttp-article-body ol {
    margin:0 0 14px;
    padding-inline-start:24px;
}
.ttp-article-body li {
    margin-block:6px;
}
.ttp-article-body a {
    color:var(--ttp-gold-soft);
    text-decoration:underline;
}
.ttp-article-body code,
.ttp-article-body pre {
    direction:ltr;
    border:1px solid rgba(201,154,54,0.112);
    border-radius:8px;
    background:#FFFCF6;
    color:#805610;
    font-size:14px;
}
.ttp-article-body code {
    padding:2px 6px;
}
.ttp-article-body pre {
    padding:12px 14px;
    overflow:auto;
    text-align:left;
}
.ttp-article-body table {
    width:100%;
    margin:0 0 14px;
    border-collapse:collapse;
}
.ttp-article-body th,
.ttp-article-body td {
    padding:8px 10px;
    border:1px solid rgba(201,154,54,0.14);
    text-align:start;
}
.ttp-article-tags {
    margin:18px 0 0;
    color:var(--ttp-muted);
    font-size:14px;
}
.ttp-rate {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:12px 18px;
    margin-top:24px;
    padding:16px 18px;
    border:1px solid var(--ttp-line);
    border-radius:16px;
    background:rgba(220, 167, 69, .06);
}
.ttp-rate-text {
    display:flex;
    flex-direction:column;
    gap:2px;
}
.ttp-rate-text strong {
    color:#141820;
    font-size:17px;
    font-weight:800;
}
.ttp-rate-text span {
    color:var(--ttp-muted);
    font-size:13.5px;
    font-weight:400;
}
.ttp-rate-actions {
    display:flex;
    gap:8px;
}
body:not(.tt-in-cart) .box-container .main-content .ttp-rate-actions .btn {
    min-width:84px;
    min-height:44px;
}

/* --- announcements --- */

.ttp-news {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
    margin-top:22px;
}
.ttp-news-card {
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:0;
    padding:22px;
    border:1px solid var(--ttp-line-wine);
    border-radius:20px;
    background:var(--ttp-card);
    box-shadow:var(--ttp-shadow);
    text-align:start;
}
.ttp-news-card > time {
    align-self:flex-start;
}
.ttp-news-title {
    margin:0;
    font-size:20px;
    font-weight:800;
    line-height:1.5;
}
.ttp-news-title a {
    color:#141820 !important;
    text-decoration:none;
}
.ttp-news-title a:hover {
    color:var(--ttp-gold-soft) !important;
}
.ttp-news-body {
    color:var(--ttp-soft);
    font-size:15px;
    line-height:1.85;
    overflow-wrap:anywhere;
}
.ttp-news-body p {
    margin:0 0 8px;
}
.ttp-news-body img,
.ttp-article-body img {
    display:block;
    float:none !important;
    max-width:100%;
    height:auto !important;
    margin:0 0 14px;
    border-radius:14px;
}
.ttp-news-more {
    align-self:flex-start;
    min-height:42px;
    margin-top:auto;
    padding:7px 18px;
    font-size:15px;
}
.ttp-pager {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    margin:26px 0 0;
}
.ttp-article {
    max-width:900px;
    margin:22px auto 0;
}
.ttp-article-body {
    margin-top:16px;
    color:#805610;
    font-size:17px;
    line-height:1.95;
    overflow-wrap:anywhere;
}
.ttp-article-body p {
    margin:0 0 12px;
}
body .main-content .ttp-article-body p,
body .main-content .ttp-article-body li,
body .main-content .ttp-article-body td,
body .main-content .ttp-article-body th {
    color:#805610;
}
.ttp-article-foot {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
    padding-top:20px;
    border-top:1px solid rgba(201,154,54,0.112);
}

/* --- contact --- */

.ttp-contact {
    display:grid;
    grid-template-columns:minmax(0, 1.7fr) minmax(260px, .9fr);
    align-items:start;
    gap:20px;
    margin-top:22px;
}
.ttp-contact-side {
    display:grid;
    gap:16px;
    min-width:0;
}
body .main-content .ttp-contact-side .tt-portal-contact-social {
    margin:0;
    padding:22px;
    border-color:var(--ttp-line-wine);
    border-radius:20px;
    text-align:start;
}
body .main-content .ttp-contact-side h2 {
    margin:0 0 14px;
    color:#805610;
    font-size:20px;
    font-weight:800;
    line-height:1.5;
}
.ttp-side-card {
    padding:22px;
}
.ttp-side-card p {
    margin:0 0 16px;
    color:var(--ttp-soft);
    font-size:15px;
    line-height:1.8;
}

/* --- password reset --- */

.ttp-auth-card {
    max-width:560px;
    margin:22px auto 40px;
}
.ttp-auth-lead {
    margin:0 0 18px;
    color:var(--ttp-soft);
    font-size:16px;
    line-height:1.8;
}
.ttp-auth-card > p {
    color:var(--ttp-soft);
    line-height:1.8;
}

/* --- sign-in / sign-up pages (their markup lives outside .main-content) --- */

body .loginpage .tt-auth-kicker {
    display:block;
    font-size:14px;
    font-weight:800;
    letter-spacing:0;
}
body .box-container .loginpage label {
    font-size:14px !important;
    font-weight:800 !important;
}
body .loginpage .marketing-email-optin h2 {
    margin:0 0 6px;
    font-size:20px;
}
body .loginpage .marketing-email-optin p {
    font-size:14px;
    font-weight:400;
    line-height:1.7;
}
body .loginpage .divider > span:not(:first-child):not(:last-child) {
    padding:0;
    font-size:16px;
    font-weight:800;
}
body .loginpage #registration input.field,
body .loginpage #registration input.form-control,
body .loginpage #registration select.form-control {
    height:50px;
    padding:8px 14px !important;
    font-size:15.5px;
}
body .box-container .loginpage select.form-control {
    padding-inline-end:42px !important;
    border:1px solid rgba(201,154,54,0.45) !important;
    border-radius:10px !important;
    background-color:#FFFCF6 !important;
    background-image:var(--ttp-chevron) !important;
    background-repeat:no-repeat !important;
    background-position:right 16px center !important;
    background-size:12px 8px !important;
    color:#141820 !important;
    -webkit-appearance:none;
    appearance:none;
}
html[dir="rtl"] body .box-container .loginpage select.form-control {
    background-position:left 16px center !important;
}
body .box-container .loginpage select option {
    background:#FFFCF6;
    color:#141820;
}
body .box-container .loginpage #registration input[type="submit"].btn {
    min-height:54px;
    margin-top:6px;
    border:1px solid #C99A36 !important;
    border-radius:12px !important;
    background:var(--ttp-cta) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.2), 0 10px 22px rgba(201,154,54,0.224);
    color:#141820 !important;
    font-size:17px;
    font-weight:800;
}
@media (min-width: 768px) {
    body .loginpage.tt-register-page #registration .row > .col-sm-5 {
        width:58.3333%;
    }
    body .loginpage.tt-register-page #registration .row > .col-sm-3 {
        width:41.6667%;
    }
}

/* --- portal home: bold display heads, no orphan card in the last row --- */

body .tt-portal-hero h1,
body .tt-portal-heading h2 {
    font-weight:800 !important;
}
@media (min-width: 901px) {
    body .tt-portal-offer-grid a:last-child:nth-child(3n + 1) {
        grid-column:1 / -1;
        flex-direction:row;
        flex-wrap:wrap;
        align-items:center;
        gap:6px 18px;
        min-height:0;
    }
    body .tt-portal-offer-grid a:last-child:nth-child(3n + 1) span {
        flex:1 1 auto;
    }
}

/* --- domain price list (domain-pricing.tpl) --- */

.ttp-pricing {
    margin-top:10px;
    color:#805610;
    text-align:start;
}
.ttp-featured {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
    gap:14px;
    margin-bottom:26px;
}
.ttp-featured-card {
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:18px 20px;
    border:1px solid var(--ttp-line-wine);
    border-radius:18px;
    background:var(--ttp-card);
    box-shadow:0 14px 30px rgba(20,24,32,0.077);
}
.ttp-featured-card b {
    align-self:flex-start;
    background:linear-gradient(110deg,#70490E 0%,#9C6C1E 48%,#795011 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    font-size:30px;
    font-weight:800;
    line-height:1.2;
}
html[dir="rtl"] .ttp-featured-card b {
    align-self:flex-end;
}
.ttp-featured-card span {
    color:var(--ttp-soft);
    font-size:14px;
}
.ttp-featured-card strong {
    color:#141820;
    font-size:17px;
    font-weight:800;
}
.ttp-featured-cta {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:64px;
    padding:14px 20px;
    border:1px solid #C99A36;
    border-radius:18px;
    background:var(--ttp-cta);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.2), 0 12px 26px rgba(201,154,54,0.24);
    color:#141820 !important;
    font-size:17px;
    font-weight:800;
    text-align:center;
    text-decoration:none !important;
}
.ttp-currency {
    margin-bottom:14px;
}
.ttp-filters {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 16px;
}
.ttp-filters a {
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 14px;
    border:1px solid rgba(201,154,54,0.3);
    border-radius:99px;
    background:rgba(255,252,246,0.74);
    color:#805610 !important;
    font-size:13.5px;
    font-weight:800;
    line-height:1.25;
    text-decoration:none !important;
}
.ttp-filters a:hover,
.ttp-filters a:focus-visible {
    border-color:var(--ttp-gold-soft);
    color:#141820 !important;
}
.ttp-filters a.is-active {
    border-color:#C99A36;
    background:var(--ttp-cta);
    color:#141820 !important;
}
.ttp-table {
    overflow:hidden;
    border:1px solid var(--ttp-line-wine);
    border-radius:20px;
    background:#FFFCF6;
    box-shadow:var(--ttp-shadow);
}
.ttp-thead,
.ttp-tr {
    display:grid;
    grid-template-columns:minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    align-items:center;
    gap:0 12px;
    padding:14px 22px;
}
.ttp-thead {
    background:linear-gradient(115deg, #FFFCF6, #FFFCF6);
    color:#805610;
    font-size:14px;
    font-weight:800;
}
.ttp-thead span:not(:first-child),
.ttp-td:not(.ttp-td-tld) {
    text-align:center;
}
.ttp-tr {
    border-top:1px solid rgba(201,154,54,0.084);
    transition:background-color .2s ease;
}
.ttp-tr:nth-child(odd) {
    background:rgba(201,154,54,0.012);
}
.ttp-tr:hover {
    background:rgba(201,154,54,0.042);
}
.ttp-td-tld {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 8px;
}
.ttp-td-tld strong {
    color:#141820;
    font-size:19px;
    font-weight:800;
}
.ttp-td b {
    display:block;
    color:#805610;
    font-size:16px;
    font-weight:800;
    line-height:1.4;
}
.ttp-td small,
.ttp-grace {
    color:var(--ttp-muted);
    font-size:12.5px;
}
.ttp-grace {
    flex:1 1 100%;
}
.ttp-pill-hot {
    border-color:rgba(201,154,54,0.6);
    background:rgba(201,154,54,0.096);
    color:#805610;
}
.ttp-pill-manual {
    border-style:dashed;
    background:transparent;
    color:#805610;
}
.ttp-td-tld .ttp-pill {
    padding:1px 9px;
    font-size:11.5px;
    line-height:1.7;
}
.ttp-empty {
    padding:26px;
    border-top:1px solid rgba(201,154,54,0.084);
    color:var(--ttp-muted);
    text-align:center;
}
.ttp-empty[hidden] {
    display:none;
}
.ttp-note {
    margin:16px 0 0;
    color:var(--ttp-muted);
    font-size:14px;
    line-height:1.7;
}

/* --- body copy stays in the regular weight (the legacy theme sets heavier paragraph weights) --- */

.ttp-side-card p,
.ttp-empty-state p,
.ttp-news-body,
.ttp-news-body p,
.ttp-article-body,
.ttp-article-body p,
.ttp-auth-lead,
.ttp-auth-card > p,
.ttp-kb-cat p,
.ttp-note,
body:not(.tt-in-cart) .box-container #default-captcha-domainchecker p {
    font-weight:400;
}

/* --- hosting product description on the order configuration page -----------
   The description text comes from the WHMCS catalog; the shared features of every plan are shown as a
   clear set of ticks instead of a plain bullet list. */
#order-standard_cart .tt-host-desc-ar p,
#order-standard_cart .tt-host-desc-en p {
    margin:0 0 10px;
}
#order-standard_cart ul.tt-host-shared {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
    gap:8px 12px;
    margin:12px 0 14px;
    padding:0;
    list-style:none;
}
#order-standard_cart ul.tt-host-shared li {
    position:relative;
    margin:0;
    padding:9px 14px;
    padding-inline-start:40px;
    border:1px solid rgba(201,154,54,0.32);
    border-radius:12px;
    background:rgba(220, 167, 69, .07);
    color:#805610;
    font-size:14.5px;
    font-weight:800;
    line-height:1.6;
}
#order-standard_cart ul.tt-host-shared li::before {
    content:"";
    position:absolute;
    top:50%;
    inset-inline-start:15px;
    width:13px;
    height:7px;
    border-bottom:2px solid #C99A36;
    border-left:2px solid #C99A36;
    transform:translateY(-70%) rotate(-45deg);
}

/* --- small screens --- */

@media (max-width: 1099px) {
    .ttp-news {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 899px) {
    .ttp-contact {
        grid-template-columns:minmax(0, 1fr);
    }
}
@media (max-width: 699px) {
    .ttp-news {
        grid-template-columns:minmax(0, 1fr);
    }
}
@media (max-width: 639px) {
    .ttp-fields {
        grid-template-columns:minmax(0, 1fr);
    }
    .ttp-searchbar {
        flex-wrap:wrap;
    }
    body:not(.tt-in-cart) .box-container .main-content .ttp-searchbar .form-control,
    body:not(.tt-in-cart) .box-container .main-content .ttp-searchbar .btn {
        flex:1 1 100%;
        width:100%;
    }
    body:not(.tt-in-cart) .box-container .main-content .ttp-form-actions .btn,
    .ttp-article-foot .ttp-btn,
    .ttp-actions .ttp-btn {
        flex:1 1 100%;
        width:100%;
    }
    .ttp-thead {
        display:none;
    }
    .ttp-tr {
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:10px 8px;
        padding:14px 16px;
    }
    .ttp-td-tld {
        grid-column:1 / -1;
    }
    .ttp-td:not(.ttp-td-tld)::before {
        content:attr(data-label);
        display:block;
        color:var(--ttp-muted);
        font-size:12px;
    }
    .ttp-td b {
        font-size:14.5px;
    }
    body:not(.tt-in-cart) .box-container .main-content .open-ticket p.text-center .btn {
        flex:1 1 100%;
        width:100%;
        font-size:16px;
    }

    /* client-area lists:every row becomes a card of "heading / value" lines (headings come from pages.js) */
    body:not(.tt-in-cart) .box-container .main-content .dataTables_wrapper .listtable {
        overflow-x:visible;
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list,
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody,
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr {
        display:block;
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list thead {
        display:none;
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr {
        padding:12px 16px;
        border-top:1px solid rgba(201,154,54,0.112);
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr:first-child {
        border-top:0;
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr:nth-child(odd) {
        background-color:rgba(201,154,54,0.012);
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr td,
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr:nth-child(odd) td,
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr:hover td {
        display:block;
        position:relative;
        min-height:30px;
        padding:5px 0 !important;
        padding-inline-start:42% !important;
        border:0 !important;
        background-color:transparent !important;
        text-align:start !important;
        white-space:normal !important;
        overflow-wrap:anywhere;
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody td::before {
        content:attr(data-label);
        position:absolute;
        top:6px;
        inset-inline-start:0;
        width:40%;
        color:var(--ttp-muted);
        font-size:12.5px;
        font-weight:400;
        line-height:1.6;
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody td.dataTables_empty {
        padding-inline-start:0 !important;
        text-align:center !important;
    }
    body:not(.tt-in-cart) .box-container .main-content table.table-list.table-list tbody tr td.ttp-cell-empty {
        display:none;
    }
    body:not(.tt-in-cart) .box-container .main-content .dataTables_wrapper .dataTables_filter input.form-control {
        width:100%;
    }
}
@media (max-width: 560px) {
    /* the contact column of the footer needs the full row for the e-mail address */
    body .tt-portal-footer-top > :last-child {
        grid-column:1 / -1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ttp-btn,
    .ttp-kb-cat,
    .ttp-tr {
        transition:none;
    }
    .ttp-btn:hover,
    .ttp-kb-cat:hover {
        transform:none;
    }
}
