/* ============================================
   MPrado Design System — custom.css
   Template: twenty-one_mprado
   Version: 1.0.0

   Layered on top of WHMCS Twenty-One theme.css
   Loaded automatically via {assetExists file="custom.css"}
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --navy: #00346e;
    --navy-light: #004a99;
    --navy-dark: #002147;
    --cyan: #058ecb;
    --cyan-light: #0aa5eb;
    --coral: #ff5f6d;
    --gold: #ffc371;
    --bg-page: #f4f6f9;
    --bg-card: #ffffff;
    --text-primary: #1a2332;
    --text-secondary: #5a6577;
    --text-muted: #8a95a5;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 52, 110, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 52, 110, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 52, 110, 0.12);
    --shadow-hover: 0 12px 40px rgba(0, 52, 110, 0.16);
    --mp-radius: 12px;
    --mp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL OVERRIDES
   ============================================ */
body,
.btn,
input,
select,
textarea,
.form-control,
.nav-link,
.dropdown-item,
.modal-title,
.card-title,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body.primary-bg-color {
    background-color: var(--bg-page) !important;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--cyan);
    transition: var(--mp-transition);
}

a:hover {
    color: var(--navy);
}

::selection {
    background: rgba(5, 142, 203, 0.2);
    color: var(--navy-dark);
}

/* ============================================
   BUTTONS — PRIMARY & OUTLINE
   ============================================ */
.btn-primary {
    background-color: var(--cyan) !important;
    border-color: var(--cyan) !important;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--mp-transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--cyan-light) !important;
    border-color: var(--cyan-light) !important;
    box-shadow: 0 4px 12px rgba(5, 142, 203, 0.3);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--cyan) !important;
    border-color: var(--cyan) !important;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--mp-transition);
}

.btn-outline-primary:hover {
    background-color: var(--cyan) !important;
    border-color: var(--cyan) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(5, 142, 203, 0.3);
    transform: translateY(-1px);
}

.btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    border-radius: 8px;
    font-weight: 600;
}

.btn {
    border-radius: 8px;
    transition: var(--mp-transition);
}

/* ============================================
   HEADER
   ============================================ */
header.header {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1030;
}

header.header .topbar {
    background: var(--navy-dark) !important;
    border-bottom: none;
}

header.header .topbar .btn {
    color: rgba(255, 255, 255, 0.8) !important;
}

header.header .topbar .btn:hover {
    color: white !important;
}

header.header .topbar .input-group-text {
    color: rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

header.header .topbar .btn-active-client {
    color: white !important;
    font-weight: 600;
}

header.header .navbar {
    padding: 12px 0;
}

header.header .navbar-brand {
    padding: 0;
}

header.header .navbar-brand .logo-img {
    max-height: 36px;
    width: auto;
}

/* Search bar in header */
header.header .input-group.search .form-control {
    border-radius: 0 8px 8px 0 !important;
    border: 1px solid var(--border-light);
    border-left: none;
    font-size: 14px;
}

header.header .input-group.search .btn {
    border-radius: 8px 0 0 8px !important;
    border: 1px solid var(--border-light);
    border-right: none;
    color: var(--text-muted);
}

header.header .input-group.search .form-control:focus {
    border-color: var(--cyan);
    box-shadow: none;
}

header.header .input-group.search .form-control:focus + .btn,
header.header .input-group.search:focus-within .btn {
    border-color: var(--cyan);
}

/* Cart button */
header.header .cart-btn {
    border: 1px solid var(--border-light) !important;
    border-radius: 10px !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: var(--text-secondary) !important;
    transition: var(--mp-transition);
}

header.header .cart-btn:hover {
    border-color: var(--cyan) !important;
    color: var(--cyan) !important;
}

header.header .cart-btn .badge {
    background-color: var(--coral) !important;
    font-size: 10px;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Área do Cliente button */
.btn-client-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--cyan) !important;
    background: rgba(5, 142, 203, 0.08) !important;
    border: 1px solid rgba(5, 142, 203, 0.2) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: var(--mp-transition);
    white-space: nowrap;
}

.btn-client-area:hover {
    background: rgba(5, 142, 203, 0.15) !important;
    border-color: var(--cyan) !important;
    transform: translateY(-1px);
    text-decoration: none !important;
    color: var(--cyan) !important;
}

.btn-client-area i {
    font-size: 16px;
}

/* Login button in navbar */
.btn-login-mp,
.btn-login-mprado {
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: white !important;
    background: var(--navy) !important;
    border: none !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: var(--mp-transition);
}

.btn-login-mp:hover,
.btn-login-mprado:hover {
    background: var(--navy-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 52, 110, 0.3);
    text-decoration: none !important;
    color: white !important;
}

/* Main nav bar */
header.header .main-navbar-wrapper {
    background: white !important;
    border-top: 1px solid var(--border-light);
}

header.header .main-navbar-wrapper .nav-link {
    color: var(--text-secondary) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px !important;
    border-radius: 8px;
    transition: var(--mp-transition);
}

header.header .main-navbar-wrapper .nav-link:hover {
    color: var(--navy) !important;
    background: rgba(0, 52, 110, 0.05);
}

header.header .main-navbar-wrapper .nav-link.active,
header.header .main-navbar-wrapper .nav-item.active .nav-link {
    color: var(--navy) !important;
    font-weight: 600;
}

/* Dropdown menus */
.dropdown-menu {
    border: 1px solid var(--border-light);
    border-radius: var(--mp-radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--mp-transition);
}

.dropdown-item:hover {
    background: rgba(0, 52, 110, 0.05);
    color: var(--navy);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.master-breadcrumb {
    background: transparent !important;
    border: none !important;
    padding: 12px 0 !important;
}

.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

/* ============================================
   DOMAIN SEARCH / HERO
   ============================================ */
.home-domain-search {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%) !important;
    position: relative;
    overflow: hidden;
    border: none !important;
}

/* Subtle grid pattern overlay */
.home-domain-search::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Decorative glow */
.home-domain-search::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 142, 203, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-domain-search .container {
    position: relative;
    z-index: 2;
}

.home-domain-search .p-5 {
    padding: 60px 0 !important;
}

.home-domain-search h2 {
    color: white !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 8px !important;
}

/* Hero subtitle */
.home-domain-search .hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Search input wrapper */
.home-domain-search .input-group-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--mp-radius);
    padding: 6px;
    backdrop-filter: blur(10px);
    transition: var(--mp-transition);
}

.home-domain-search .input-group-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 4px rgba(5, 142, 203, 0.2);
}

.home-domain-search .input-group {
    border: none !important;
}

.home-domain-search .form-control {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-size: 16px;
    padding: 12px 20px;
    box-shadow: none !important;
}

.home-domain-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

.home-domain-search .input-group-append .btn {
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    margin-left: 4px;
}

.home-domain-search .input-group-append .btn-primary {
    background: var(--cyan) !important;
    color: white !important;
}

.home-domain-search .input-group-append .btn-primary:hover {
    background: var(--cyan-light) !important;
    transform: translateY(-1px);
}

/* Mobile search buttons */
.home-domain-search .row.d-sm-none .btn {
    border-radius: 8px !important;
    font-weight: 600;
    padding: 12px;
    margin-top: 8px;
}

/* TLD logos */
.home-domain-search .tld-logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
}

.home-domain-search .tld-logos li {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 14px;
}

.home-domain-search .tld-logos li img {
    filter: brightness(0) invert(1);
    opacity: 0.4;
    height: 20px;
}

/* Pricing link */
.home-domain-search .btn-link {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    float: none !important;
    display: block;
    text-align: center;
    margin-top: 16px;
    transition: var(--mp-transition);
}

.home-domain-search .btn-link:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Captcha inside hero */
.home-domain-search .captcha-container {
    text-align: center;
    margin-top: 12px;
}

/* ============================================
   HOMEPAGE — PRODUCTS SECTION
   ============================================ */
.homepage h2.text-center {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-top: 48px !important;
    margin-bottom: 12px !important;
}

/* Product grid — 3 columns like prototype */
.product-grid-mp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.product-card-mp {
    border: 1px solid var(--border-light);
    border-radius: var(--mp-radius);
    background: var(--bg-card);
    transition: var(--mp-transition);
    overflow: hidden;
    animation: mpFadeInUp 0.5s ease-out both;
}

.product-card-mp:nth-child(1) { animation-delay: 0.03s; }
.product-card-mp:nth-child(2) { animation-delay: 0.06s; }
.product-card-mp:nth-child(3) { animation-delay: 0.09s; }
.product-card-mp:nth-child(4) { animation-delay: 0.12s; }
.product-card-mp:nth-child(5) { animation-delay: 0.15s; }
.product-card-mp:nth-child(6) { animation-delay: 0.18s; }
.product-card-mp:nth-child(7) { animation-delay: 0.21s; }
.product-card-mp:nth-child(8) { animation-delay: 0.24s; }
.product-card-mp:nth-child(9) { animation-delay: 0.27s; }

.product-card-mp:hover {
    border-color: transparent;
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-card-mp a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    text-decoration: none !important;
    color: inherit;
}

.product-card-mp h3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.product-card-mp p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Product icon circle */
.product-icon-mp {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    transition: var(--mp-transition);
}

.product-card-mp:hover .product-icon-mp {
    transform: scale(1.1);
}

/* Product icon colors */
.product-icon-blue {
    background: rgba(5, 142, 203, 0.12);
    color: #058ecb;
}
.product-card-mp:hover .product-icon-blue {
    background: #058ecb;
    color: white;
}

.product-icon-red {
    background: rgba(234, 67, 53, 0.12);
    color: #ea4335;
}
.product-card-mp:hover .product-icon-red {
    background: #ea4335;
    color: white;
}

.product-icon-navy {
    background: rgba(0, 52, 110, 0.1);
    color: #00346e;
}
.product-card-mp:hover .product-icon-navy {
    background: #00346e;
    color: white;
}

.product-icon-green {
    background: rgba(39, 174, 96, 0.12);
    color: #27ae60;
}
.product-card-mp:hover .product-icon-green {
    background: #27ae60;
    color: white;
}

.product-icon-purple {
    background: rgba(142, 68, 173, 0.12);
    color: #8e44ad;
}
.product-card-mp:hover .product-icon-purple {
    background: #8e44ad;
    color: white;
}

.product-icon-chat {
    background: rgba(5, 142, 203, 0.12);
    color: #058ecb;
}
.product-card-mp:hover .product-icon-chat {
    background: #058ecb;
    color: white;
}

.product-icon-orange {
    background: rgba(243, 156, 18, 0.12);
    color: #e67e22;
}
.product-card-mp:hover .product-icon-orange {
    background: #e67e22;
    color: white;
}

.product-icon-teal {
    background: rgba(0, 171, 169, 0.12);
    color: #00aba9;
}
.product-card-mp:hover .product-icon-teal {
    background: #00aba9;
    color: white;
}

.product-icon-gray {
    background: rgba(127, 140, 141, 0.12);
    color: #7f8c8d;
}
.product-card-mp:hover .product-icon-gray {
    background: #7f8c8d;
    color: white;
}

/* Product "Ver planos" button */
.product-btn-mp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
    background: rgba(5, 142, 203, 0.08);
    border-radius: 8px;
    transition: var(--mp-transition);
}

.product-card-mp:hover .product-btn-mp {
    background: var(--cyan);
    color: white;
}

/* Legacy card-columns.home fallback (hide if product-grid-mp exists) */
.card-columns.home {
    column-count: unset !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    orphans: unset;
    widows: unset;
}

/* ============================================
   HOMEPAGE — HELP SECTION (action-icon-btns)
   ============================================ */
.action-icon-btns {
    margin: 0 !important;
}

.action-icon-btns > [class*="col"] {
    padding: 8px !important;
}

.action-icon-btns a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px !important;
    border-radius: var(--mp-radius) !important;
    border: 1px solid var(--border-light) !important;
    background: var(--bg-card);
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: var(--mp-transition);
    text-align: center;
    min-height: auto;
}

.action-icon-btns a:hover {
    border-color: transparent !important;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: var(--text-primary) !important;
}

.action-icon-btns .ico-container {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 !important;
    transition: var(--mp-transition);
    border: none !important;
}

.action-icon-btns a:hover .ico-container {
    transform: scale(1.1);
}

/* Help icon colors — prominent backgrounds */
.action-icon-btns .card-accent-teal .ico-container {
    background: rgba(0, 171, 169, 0.15) !important;
    color: #00918f !important;
    border-color: transparent !important;
}
.action-icon-btns a.card-accent-teal:hover .ico-container {
    background: #00aba9 !important;
    color: white !important;
}

.action-icon-btns .card-accent-pomegranate .ico-container {
    background: rgba(192, 57, 43, 0.15) !important;
    color: #a93226 !important;
    border-color: transparent !important;
}
.action-icon-btns a.card-accent-pomegranate:hover .ico-container {
    background: #c0392b !important;
    color: white !important;
}

.action-icon-btns .card-accent-sun-flower .ico-container {
    background: rgba(241, 196, 15, 0.18) !important;
    color: #b8960a !important;
    border-color: transparent !important;
}
.action-icon-btns a.card-accent-sun-flower:hover .ico-container {
    background: #f1c40f !important;
    color: white !important;
}

.action-icon-btns .card-accent-asbestos .ico-container {
    background: rgba(127, 140, 141, 0.15) !important;
    color: #5f6b6c !important;
    border-color: transparent !important;
}
.action-icon-btns a.card-accent-asbestos:hover .ico-container {
    background: #7f8c8d !important;
    color: white !important;
}

.action-icon-btns .card-accent-green .ico-container {
    background: rgba(39, 174, 96, 0.15) !important;
    color: #1e8a4d !important;
    border-color: transparent !important;
}
.action-icon-btns a.card-accent-green:hover .ico-container {
    background: #27ae60 !important;
    color: white !important;
}

/* Account section icon colors */
.action-icon-btns .card-accent-midnight-blue .ico-container {
    background: rgba(0, 52, 110, 0.12) !important;
    color: var(--navy) !important;
    border-color: transparent !important;
}

.action-icon-btns a.card-accent-midnight-blue:hover .ico-container {
    background: var(--navy) !important;
    color: white !important;
}

/* Animation for help/account cards */
.action-icon-btns a {
    animation: mpFadeInUp 0.5s ease-out both;
}

.action-icon-btns > div:nth-child(1) a { animation-delay: 0.05s; }
.action-icon-btns > div:nth-child(2) a { animation-delay: 0.1s; }
.action-icon-btns > div:nth-child(3) a { animation-delay: 0.15s; }
.action-icon-btns > div:nth-child(4) a { animation-delay: 0.2s; }
.action-icon-btns > div:nth-child(5) a { animation-delay: 0.25s; }

/* ============================================
   FOOTER
   ============================================ */
footer.footer {
    background: var(--navy-dark) !important;
    padding: 48px 0 0 !important;
    color: rgba(255, 255, 255, 0.6);
    border-top: none !important;
}

.footer-mprado {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand-mp {
    max-width: 280px;
}

.footer-brand-mp .footer-logo {
    display: block;
    margin-bottom: 12px;
}

.footer-brand-mp p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-links-mp h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-links-mp ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-mp li {
    margin-bottom: 8px;
}

.footer-links-mp a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none;
    transition: var(--mp-transition);
}

.footer-links-mp a:hover {
    color: var(--cyan-light) !important;
}

.footer-contact-mp h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-contact-mp .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 10px;
    color: #25d366 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: var(--mp-transition);
}

.footer-contact-mp .whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
}

.footer-contact-mp .whatsapp-btn i {
    font-size: 20px;
}

.footer-bottom-mp {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-mp p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-bottom-mp a {
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: none;
    font-size: 13px;
    transition: var(--mp-transition);
}

.footer-bottom-mp a:hover {
    color: var(--cyan-light) !important;
}

/* Language/currency chooser in footer */
.footer .list-inline {
    margin-bottom: 0 !important;
}

.footer .list-inline .btn {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px;
}

.footer .list-inline .btn:hover {
    color: white !important;
}

/* ============================================
   CARDS (GENERAL)
   ============================================ */
.card {
    border: 1px solid var(--border-light);
    border-radius: var(--mp-radius) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--mp-transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* ============================================
   FORMS
   ============================================ */
.form-control {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    transition: var(--mp-transition);
}

.form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(5, 142, 203, 0.15);
}

/* ============================================
   TABLES
   ============================================ */
.table thead th {
    background: var(--bg-page);
    border-bottom: 2px solid var(--border-light);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
}

/* ============================================
   BADGES
   ============================================ */
.badge-info {
    background-color: var(--cyan) !important;
}

.badge-primary {
    background-color: var(--navy) !important;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar .list-group-item {
    border-color: var(--border-light);
    border-radius: 0;
    transition: var(--mp-transition);
}

.sidebar .list-group-item:first-child {
    border-radius: var(--mp-radius) var(--mp-radius) 0 0;
}

.sidebar .list-group-item:last-child {
    border-radius: 0 0 var(--mp-radius) var(--mp-radius);
}

.sidebar .list-group-item.active {
    background-color: var(--cyan);
    border-color: var(--cyan);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border-radius: var(--mp-radius);
    border: none;
}

.alert-info {
    background-color: rgba(5, 142, 203, 0.1);
    color: var(--navy);
}

/* ============================================
   PAGINATION
   ============================================ */
.page-link {
    color: var(--cyan);
    border-color: var(--border-light);
    border-radius: 8px;
    margin: 0 2px;
}

.page-item.active .page-link {
    background-color: var(--cyan);
    border-color: var(--cyan);
}

/* ============================================
   CLIENT AREA SPECIFIC
   ============================================ */
#main-body {
    padding: 0 0 48px;
}

.primary-content {
    padding-top: 24px;
}

/* ============================================
   MODAL
   ============================================ */
.modal-content {
    border-radius: var(--mp-radius) !important;
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
}

.modal-footer {
    border-top: 1px solid var(--border-light);
}

/* ============================================
   RETURN TO ADMIN BUTTON
   ============================================ */
.btn-return-to-admin {
    background: var(--coral) !important;
    color: white !important;
    border-radius: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes mpFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-domain-search .container {
    animation: mpFadeInUp 0.7s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .btn-client-area span.d-none-text {
        display: none;
    }
}

@media (max-width: 992px) {
    .home-domain-search h2 {
        font-size: 28px !important;
    }

    .product-grid-mp,
    .card-columns.home {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .home-domain-search .p-5 {
        padding: 40px 0 !important;
    }

    .home-domain-search h2 {
        font-size: 24px !important;
    }

    .home-domain-search .hero-subtitle {
        font-size: 15px;
    }

    .product-grid-mp,
    .card-columns.home {
        grid-template-columns: 1fr !important;
    }

    .footer-mprado {
        flex-direction: column;
    }

    .footer-bottom-mp {
        flex-direction: column;
        text-align: center;
    }

    .btn-client-area {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 576px) {
    .homepage h2.text-center {
        font-size: 22px;
    }

    .action-icon-btns a {
        padding: 20px 12px !important;
    }
}

/* ============================================
   EMAIL LOGIN (OTP)
   ============================================ */
.email-login-divider {
    position: relative;
    text-align: center;
    margin: 20px 0 16px;
}

.email-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
}

.email-login-divider span {
    position: relative;
    background: var(--bg-card);
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: lowercase;
}

.email-login-link {
    display: block;
    text-align: center;
    padding: 10px 20px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--navy) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--mp-transition);
}

.email-login-link:hover {
    border-color: var(--navy);
    background: rgba(0, 52, 110, 0.04);
    color: var(--navy) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.email-login-link i {
    margin-right: 6px;
}

.email-login-code-input {
    text-align: center !important;
    font-family: 'Courier New', monospace !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: 8px !important;
    padding: 14px 16px !important;
    color: var(--navy) !important;
}

.email-login-code-input::placeholder {
    color: var(--border-light) !important;
    letter-spacing: 8px;
}

.email-login-back {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: var(--mp-transition);
}

.email-login-back:hover {
    color: var(--navy) !important;
}

.email-login-back i {
    margin-right: 4px;
}

.email-login-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.email-login-actions a {
    font-size: 13px;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: var(--mp-transition);
}

.email-login-actions a:hover {
    color: var(--navy) !important;
}

#email-login-card .alert {
    font-size: 13px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header.header,
    footer.footer,
    .home-domain-search,
    .master-breadcrumb {
        display: none !important;
    }
}
