/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* GRIDA visual polish 2026-11-18. CSS only; preserves Nexus forms and behavior. */
:root { --grida-ink:#102b35; --grida-teal:#087f85; --grida-mint:#dff6ee; }
#header .navbar-brand { position:relative; width:230px; height:70px; overflow:hidden; display:block; padding:0; margin-top:0; margin-bottom:0; flex-shrink:0; }
#header .navbar-brand .logo-img { position:absolute; width:260px!important; height:260px!important; max-width:none!important; max-height:none!important; left:50%; top:50%; transform:translate(-50%,-50%); object-fit:contain; }
#header { border-top:4px solid #11b4ae; }
#header .main-navbar-wrapper { border-top:1px solid #edf2f3; }
#header .main-navbar-wrapper a { font-weight:600; }
#header a:focus-visible, #frmDomainHomepage a:focus-visible, #frmDomainHomepage button:focus-visible { outline:3px solid #11b4ae; outline-offset:3px; }
#frmDomainHomepage .home-domain-search { background:radial-gradient(ellipse at 95% 0,rgba(19,201,197,.22),transparent 60%),linear-gradient(125deg,#102b35,#173e49)!important; color:#fff; border-bottom:4px solid #13c9c5; }
#frmDomainHomepage .p-5 { padding:64px 32px 46px!important; }
#frmDomainHomepage h2 { color:#fff; font-size:clamp(30px,3.4vw,48px); font-weight:700; letter-spacing:-1.4px; margin-bottom:30px; }
#frmDomainHomepage .input-group-wrapper { border:1px solid rgba(255,255,255,.35); border-radius:14px; padding:8px; background:#fff; box-shadow:0 12px 30px rgba(0,0,0,.14); }
#frmDomainHomepage .form-control { min-height:52px; font-size:18px; border:0; box-shadow:none; color:#102b35; }
#frmDomainHomepage .input-group-append .btn { min-height:52px; padding:12px 25px; border-radius:9px; font-weight:700; }
#frmDomainHomepage .btn-primary { background:#087f85; border-color:#087f85; }
#frmDomainHomepage .btn-primary:hover { background:#06666c; border-color:#06666c; }
#frmDomainHomepage .btn-success { background:#e5f4f2; color:#143d45; border-color:#e5f4f2; }
#frmDomainHomepage .btn-link { color:#d9f8f3; margin-top:14px; text-decoration:underline; text-underline-offset:4px; }
body:has(#frmDomainHomepage) #main-body { background:#f4f7f7; padding-top:28px; }
body:has(#frmDomainHomepage) #main-body h2 { color:#102b35; font-size:28px; font-weight:700; letter-spacing:-.6px; margin:24px 0 28px!important; }
.card-columns.home { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; column-count:unset; margin-bottom:44px; }
.card-columns.home .card { width:100%; margin:0!important; border:1px solid #dbe6e7; border-radius:16px; box-shadow:0 5px 18px rgba(16,43,53,.04); overflow:hidden; border-top:4px solid #13a8a5; }
.card-columns.home .card-body { height:100%; padding:30px!important; display:flex; flex-direction:column; text-align:left!important; }
.card-columns.home h3 { font-size:22px; font-weight:700; color:#102b35; letter-spacing:-.4px; }
.card-columns.home p { color:#52666d; line-height:1.65; margin-bottom:24px; }
.card-columns.home .btn { margin-top:auto; min-height:44px; padding:10px 16px; border:1px solid #087f85; color:#087179; border-radius:8px; font-weight:600; }
.card-columns.home .btn:hover { background:#087f85; color:#fff; }
body:has(#frmDomainHomepage) .action-icon-btns { margin-top:24px!important; margin-bottom:40px!important; }
body:has(#frmDomainHomepage) .action-icon-btns a { background:#fff; border:1px solid #e0e8e9; border-radius:12px; color:#304e58; min-height:132px; font-weight:600; box-shadow:none; transition:background .15s,border-color .15s; }
body:has(#frmDomainHomepage) .action-icon-btns a:hover { background:#eaf8f5; border-color:#66bab3; }
body:has(#frmDomainHomepage) .action-icon-btns figure { color:#087f85; }
body:has(#frmDomainHomepage) #footer { background:#102b35; }
body:has(#frmDomainHomepage) #footer p, body:has(#frmDomainHomepage) #footer a { color:#d3e3e7; }
@media(max-width:767px) {
 #header .navbar-brand { width:190px; height:60px; }
 #header .navbar-brand .logo-img { width:220px!important; height:220px!important; }
 #frmDomainHomepage .p-5 { padding:40px 4px 30px!important; }
 #frmDomainHomepage h2 { font-size:31px; letter-spacing:-.8px; margin-bottom:24px; }
 #frmDomainHomepage .form-control { font-size:16px; min-width:0; }
 #frmDomainHomepage .row.d-sm-none { margin-top:14px; }
 #frmDomainHomepage .row.d-sm-none .btn { min-height:46px; font-weight:700; border-radius:8px; }
 .card-columns.home { grid-template-columns:1fr; gap:16px; margin-bottom:32px; }
 .card-columns.home .card-body { padding:24px!important; }
 body:has(#frmDomainHomepage) #main-body h2 { font-size:25px; }
 body:has(#frmDomainHomepage) .action-icon-btns a { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { body:has(#frmDomainHomepage) .action-icon-btns a { transition:none; } }
/* Match Nexus's high-specificity button background rules. */
#frmDomainHomepage #btnTransfer, #frmDomainHomepage #btnTransfer2 { background:#e5f4f2!important; color:#143d45!important; border-color:#e5f4f2!important; }
#frmDomainHomepage #btnTransfer:hover, #frmDomainHomepage #btnTransfer2:hover { background:#c9eae4!important; }
