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

    ** 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.
 */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

: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%;
}

body {
    font-family: "Hanken Grotesk", sans-serif !important;
}

section#main-body {
    /* 100vh là toàn bộ chiều cao màn hình */
    /* 232px = 140px (header) + 92px (footer) */
    min-height: calc(100vh - 232px);
    
    /* Đảm bảo box-sizing để padding không làm tăng chiều cao */
    box-sizing: border-box; 
}

@media (min-width: 1440px) { /* Ưu tiên áp dụng cho màn hình từ 1440px trở lên */
    .container {
        max-width: 1400px !important;
    }
}
/* Fix cho một số template dùng class container-large */
.container-large {
    max-width: 1400px !important;
}
@media (min-width: 320px) and (max-width: 480px) {
    header.header .navbar{
        min-height: 0 !important;
    }
    header.header .navbar .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    #nav {
        gap: 20px !important;
        padding-top: 10px !important;
    }
    .row {
        margin-left: inherit !important;
        margin-right: inherit !important;
    }
}
@media (min-width: 481px) and (max-width: 767px) {
    header.header .navbar{
        min-height: 0 !important;
    }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    header.header .navbar{
        min-height: 0 !important;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    header.header .navbar{
        min-height: 0 !important;
    }
}
a.navbar-brand img {
    max-height: 40px !important;
}
header.header .topbar, .master-breadcrumb, 
div.list-group.collapsable-card-body a#Secondary_Sidebar-Categories-Domain, 
div[menuitemname="Choose Currency"], 
#order-standard_cart div.view-cart-tabs ul.nav.nav-tabs li:last-child, div.domain-selection-options > div.option > label, 
#continueShopping, #tableServicesList_wrapper #tableServicesList thead tr th:first-child, 
#tableServicesList_wrapper #tableServicesList tbody tr td:first-child {
    display: none !important;
}
section#main-body {
    padding-top: 40px !important;
}
#order-standard_cart .cart-sidebar {
    padding-right: 30px !important;
}
input[type=checkbox], input[type=radio] {
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
    transform: scale(1.5);
}
div.card-columns.home {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
}
#order-standard_cart .products .product div.product-pricing span.price,
body #order-standard_cart .cart-sidebar .card-sidebar .panel-title, .sidebar .card-header .card-title {
    font-size: 18px !important;
}

.row.invoice-header img[title="DIGIS Customer Services"] {
    max-width: 150px !important;    
}
body #order-standard_cart .cart-body .header-lined h1 {
    font-size: 30px !important;
}
div#products header span, body #order-standard_cart .product-info .product-title {
    font-size: 22px !important;
    font-weight: bold !important;
}
select, 
div.header-lined > p, 
div.product-desc > p, 
body #order-standard_cart .products .product footer .btn-order-now, 
body #order-standard_cart .product-info p, 
div.secondary-cart-body > p, 
#order-standard_cart label, 
.cart-sidebar a,
.sidebar .list-group-item.list-group-item-action,
input[type=text], input[type=tel], input[type=email], input[type=password],
#producttotal,
#orderSummary .subtotal, #orderSummary .bordered-totals, #orderSummary .recurring-totals,
.secondary-cart-body .view-cart-items,
#order-standard_cart {
    font-size: 16px !important;
}
body #order-standard_cart .products .product footer .product-pricing, .total-due-today.total-due-today-padded,
#order-standard_cart .view-cart-items .item-price .cycle,
body #order-standard_cart .cart-body .view-cart-items .item-domain,
#order-standard_cart .empty-cart .btn, body #order-standard_cart .secondary-cart-body .view-cart-tabs .nav-tabs a,
#order-standard_cart .checkout-security-msg,
#order-standard_cart .products .product header .qty {
    font-size: 14px !important;
}
body #order-standard_cart .cart-body .view-cart-items-header, body #order-standard_cart .order-summary h2 {
    font-size: 18px !important;
    font-weight: bold !important;
}
#order-standard_cart .view-cart-tabs .nav-tabs {
    padding-left: 0 !important;
}
#tabOverview .product-details h4 {
    margin-bottom: 0 !important;
    margin-top: 20px !important;
    font-size: 18px !important;
}
.invoice-container .card .card-header h3, form[action="/upgrade.php"] h2 {
    font-size: 18px !important;
}
.invoice-container .card .table-responsive thead tr td:first-child, .invoice-container .card .table-responsive tbody tr td:first-child{
    padding-left: 20px;
}
.invoice-container .card-title.py-1.px-2.text-white.mb-0.font-weight-bold.bg-info {
    text-align: center;
}
.product-details-tab-container div#domain .ssl-inactive img {
    margin-top: -4px;
}
.product-details-tab-container div#domain p {
    text-align: left;
    margin-bottom: 0 !important;
}
.product-details-tab-container div#domain .text-center.module-client-area {
    text-align: left !important;
    padding: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}
.product-details-tab-container div#domain .text-center.module-client-area a {
    border: 1px solid #aeaeae;
    border-radius: 8px;
    padding: 7px 10px;
}
.product-details-tab-container div#domain .text-center.module-client-area a:hover{
    text-decoration: none;
    background-color: black;
    color: white;
    border-color: black;
}
.secondary-cart-body .view-cart-tabs .tab-content {
    border-top-left-radius: 0 !important;
}
#order-standard_cart .checkout-security-msg i {
    font-size: 1.3em !important;
}
p.small {
    font-size: 100% !important;
}
/* Ép hiển thị tất cả các body của card trong sidebar */
.card-sidebar .collapsable-card-body {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}
/* Đảm bảo icon mũi tên luôn ở trạng thái 'mở' (hướng lên) */
.card-sidebar .card-minimise.fa-chevron-down {
    transform: rotate(180deg); /* Xoay ngược lại nếu nó đang hướng xuống */
}
#formDisable2FA .form-group label, #formDisable2FA .form-group .col-sm-6 {
    padding: 0 !important;
}
form[action="https://mega.digishost.com:2222/CMD_LOGIN"] input[type="submit"] {
    border-radius: 7px !important;
    padding: 7px 10px !important;
    background-color: transparent !important;
    border: 1px solid #cccccc !important;
}
form[action="https://mega.digishost.com:2222/CMD_LOGIN"] input[type="submit"]:hover {
    color: white !important;
    background-color: #333 !important;
    border: 1px solid #333 !important;
}
div.icheckbox_square-blue {
    margin-top: -5px !important;
}