/*
 * WHMS Frontend Color Scheme Override
 * ====================================
 * To undo: remove the <link> tag for this file from storefront/includes/css.blade.php
 */

/* =============================================
   1. NAVBAR MENU BAR - Vibrant gradient
   ============================================= */
.page-header .page-header-menu {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li > a {
    color: #d0dfff !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li > a:hover,
.page-header .page-header-menu .hor-menu .navbar-nav > li.open > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li.active > a,
.page-header .page-header-menu .hor-menu .navbar-nav > li.current > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-bottom: 2px solid #82b1ff;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu {
    background: #2a5298 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li > a {
    color: #d0dfff !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li > a > i {
    color: #82b1ff !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li:hover > a,
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li.active > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li.divider {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* =============================================
   2. PAGE BODY - Soft background
   ============================================= */
.page-container {
    background-color: #eef2f7 !important;
}
.page-content {
    background-color: #eef2f7 !important;
}

/* =============================================
   3. PAGE HEAD / TITLE AREA
   ============================================= */
.page-head {
    background: linear-gradient(135deg, #f8f9fb 0%, #eef2f7 100%) !important;
    border-bottom: 1px solid #dde3ea;
}
.page-head .page-title h1 {
    color: #1e3c72 !important;
}

/* =============================================
   4. PORTLETS - Polished cards
   ============================================= */
.portlet.light {
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border: none !important;
    overflow: hidden;
}
.portlet.light > .portlet-title {
    border-bottom: 2px solid #2a5298 !important;
}
.portlet.light > .portlet-title > .caption > .caption-subject {
    color: #1e3c72 !important;
}

/* =============================================
   5. BUTTONS - Vibrant palette
   ============================================= */
.btn-success {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
}
.btn-success:hover, .btn-success:focus {
    background-color: #219a52 !important;
    border-color: #219a52 !important;
}
.btn-primary {
    background-color: #2a5298 !important;
    border-color: #2a5298 !important;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #1e3c72 !important;
    border-color: #1e3c72 !important;
}
.btn-info {
    background-color: #3498db !important;
    border-color: #3498db !important;
}
.btn-info:hover, .btn-info:focus {
    background-color: #2980b9 !important;
    border-color: #2980b9 !important;
}
.btn-warning {
    background-color: #f39c12 !important;
    border-color: #f39c12 !important;
    color: #fff !important;
}
.btn-warning:hover, .btn-warning:focus {
    background-color: #d68910 !important;
    border-color: #d68910 !important;
}
.btn-danger {
    background-color: #e74c3c !important;
    border-color: #e74c3c !important;
}
.btn-danger:hover, .btn-danger:focus {
    background-color: #c0392b !important;
    border-color: #c0392b !important;
}

/* =============================================
   6. TABLES
   ============================================= */
.table > thead > tr > th {
    background-color: #2a5298 !important;
    color: #ffffff !important;
    border-bottom: none !important;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.table-hover > tbody > tr:hover {
    background-color: #e8f0fe !important;
}

/* =============================================
   7. LABELS / BADGES
   ============================================= */
.label-success { background-color: #27ae60 !important; }
.label-danger { background-color: #e74c3c !important; }
.label-warning { background-color: #f39c12 !important; }
.label-info { background-color: #3498db !important; }
.label-primary { background-color: #2a5298 !important; }

/* =============================================
   8. FOOTER - Rich dark with accents
   ============================================= */
.page-prefooter {
    background: linear-gradient(135deg, #1a2332 0%, #243447 100%) !important;
    color: #b0bec5 !important;
}
.page-prefooter h2 {
    color: #82b1ff !important;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
.page-prefooter .footer-block {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.page-prefooter .footer-block:last-child {
    border-right: none;
}
.page-prefooter a {
    color: #90a4ae !important;
    transition: color 0.2s;
}
.page-prefooter a:hover {
    color: #82b1ff !important;
}
.page-prefooter .footer-links li a:hover {
    color: #82b1ff !important;
}
.page-prefooter .social-icons li a {
    opacity: 0.7;
    transition: opacity 0.2s;
}
.page-prefooter .social-icons li a:hover {
    opacity: 1;
}
.page-footer {
    background: #141d2b !important;
    color: #78909c !important;
}
.page-footer a {
    color: #82b1ff !important;
}
.page-footer a:hover {
    color: #a8c6fa !important;
}

/* =============================================
   9. ALERTS
   ============================================= */
.alert-success {
    background-color: #d4efdf !important;
    border-color: #27ae60 !important;
    color: #1e7e46 !important;
}
.alert-info {
    background-color: #d6eaf8 !important;
    border-color: #3498db !important;
    color: #21618c !important;
}
.alert-warning {
    background-color: #fef9e7 !important;
    border-color: #f39c12 !important;
    color: #7d6608 !important;
}
.alert-danger {
    background-color: #fadbd8 !important;
    border-color: #e74c3c !important;
    color: #922b21 !important;
}

/* =============================================
   10. FORM CONTROLS
   ============================================= */
.form-control:focus {
    border-color: #5e9eff !important;
    box-shadow: 0 0 0 2px rgba(94, 158, 255, 0.15) !important;
}

/* =============================================
   11. PORTLET BOX (hero banners)
   ============================================= */
.portlet.box.green > .portlet-title {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%) !important;
    border: none !important;
}
.portlet.box.green > .portlet-body {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%) !important;
    border: none !important;
    color: #fff !important;
}

/* =============================================
   12. STORE SIDEBAR - List group
   ============================================= */
.list-group-item {
    border-color: #e8ecf1 !important;
    transition: background-color 0.15s;
}
.list-group-item:hover {
    background-color: #f0f5ff !important;
}
.list-group-item.active {
    background-color: #2a5298 !important;
    border-color: #2a5298 !important;
}

/* =============================================
   13. FEATURED PRODUCT CARDS
   ============================================= */
.portlet.light.bordered {
    border: 1px solid #e3e9f0 !important;
    border-top: 3px solid #2a5298 !important;
}

/* =============================================
   14. MOBILE DRAWER - Colorful
   ============================================= */
.mobile-drawer {
    background: #1a2332 !important;
}
.drawer-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.drawer-user {
    background: rgba(255, 255, 255, 0.05) !important;
}
.drawer-nav > li > a {
    color: #b0bec5 !important;
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}
.drawer-nav > li > a > i {
    color: #5e9eff !important;
}
.drawer-nav > li > a:hover,
.drawer-nav > li.active > a {
    background: rgba(94, 158, 255, 0.1) !important;
    color: #ffffff !important;
}
.drawer-section-label {
    color: #5e9eff !important;
}
.drawer-submenu {
    background: rgba(0, 0, 0, 0.15) !important;
}
.drawer-submenu > li > a {
    color: #90a4ae !important;
}
.drawer-submenu > li > a:hover,
.drawer-submenu > li.active > a {
    color: #82b1ff !important;
}
.drawer-footer {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
}

/* =============================================
   15. SCROLL TO TOP
   ============================================= */
.scroll-to-top > i {
    color: #2a5298 !important;
}
.scroll-to-top:hover > i {
    color: #1e3c72 !important;
}

/* =============================================
   16. DOMAIN SEARCH BLOCKS
   ============================================= */
.domain-block {
    background: linear-gradient(135deg, #00a198 0%, #00897b 100%) !important;
    border-radius: 12px !important;
}
.domain-block-transfer {
    background: linear-gradient(135deg, #38761d 0%, #2e7d32 100%) !important;
    border-radius: 12px !important;
}
.domain-block-use {
    background: linear-gradient(135deg, #1e79ca 0%, #1565c0 100%) !important;
    border-radius: 12px !important;
}

/* =============================================
   17. THEME FONT OVERRIDE
   ============================================= */
.theme-font {
    color: #2a5298 !important;
}
