/* Premium Custom Styling for Cloud VPS */

/* Segmented tab switch */
.service-switch-wrap {
    background: #f1f5f9;
    padding: 6px;
    border-radius: 30px;
    display: inline-flex;
    margin: 20px auto;
    border: 1px solid #e2e8f0;
    justify-content: center;
}
.service-switch-sm {
    padding: 8px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
}
.service-switch-sm:hover {
    color: #04a9f5;
}
.service-switch-sm.active {
    background: #ffffff;
    color: #04a9f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Card vps-card */
.vps-card {
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    border-top: 4px solid #04a9f5;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    overflow: hidden;
}
.vps-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -5px rgba(4, 169, 245, 0.12), 0 10px 15px -5px rgba(4, 169, 245, 0.04);
    border-color: rgba(4, 169, 245, 0.25);
}

.plan-header-horizontal {
    display: flex;
    align-items: center;
    text-align: left !important;
}

/* Custom Icon Wrapper */
.vps-icon-wrapper {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(4, 169, 245, 0.12) 0%, rgba(4, 169, 245, 0.04) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #04a9f5;
    font-size: 26px;
    margin-right: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.vps-card:hover .vps-icon-wrapper {
    background: linear-gradient(135deg, #04a9f5 0%, #028ac8 100%);
    color: #ffffff;
    transform: rotate(5deg) scale(1.05);
}

/* Pricing and Info */
.vps-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}
.vps-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #04a9f5;
}
.vps-price-period {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

/* Specs List */
.vps-spec {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.vps-spec li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
}
.vps-spec li:last-child {
    border-bottom: none;
}
.vps-spec .spec-label {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.vps-spec .spec-label i {
    font-size: 18px;
    color: #04a9f5;
    opacity: 0.85;
    transition: transform 0.3s ease;
}
.vps-card:hover .vps-spec .spec-label i {
    transform: scale(1.1);
}
.vps-spec .spec-value {
    font-weight: 600;
    color: #1e293b;
}

/* Buy Button */
.btn-vps-buy {
    background: linear-gradient(135deg, #04a9f5 0%, #028ac8 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(4, 169, 245, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-decoration: none;
}
.btn-vps-buy:hover {
    background: linear-gradient(135deg, #028ac8 0%, #0171a4 100%);
    box-shadow: 0 6px 16px rgba(4, 169, 245, 0.25);
    transform: translateY(-1px);
}
.btn-vps-buy i {
    font-size: 18px;
    transition: transform 0.2s ease;
}
.vps-card:hover .btn-vps-buy i {
    transform: translateX(3px);
}

/* Order page upgrades */
.order-card {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.order-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
    padding: 16px 20px;
}
.order-card .card-body {
    padding: 20px;
}

.payment-cycle {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.payment-cycle:hover {
    border-color: #04a9f5;
    background: rgba(4, 169, 245, 0.01);
}
.payment-cycle.active {
    border-color: #04a9f5;
    background: rgba(4, 169, 245, 0.04);
    color: #04a9f5;
    box-shadow: 0 4px 10px rgba(4, 169, 245, 0.05);
}
.payment-cycle.active .text-muted {
    color: #04a9f5 !important;
}

/* Custom form elements */
.form-select-lg {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    padding: 10px 16px;
}
.form-select-lg:focus {
    border-color: #04a9f5;
    box-shadow: 0 0 0 3px rgba(4, 169, 245, 0.15);
}

.summary-wrapper {
    position: sticky;
    top: 90px;
}

/* Custom Responsive Display Utilities for Header Widgets */
@media (min-width: 768px) {
    .header-widget-desktop {
        display: inline-flex !important;
        align-items: center;
    }
}
@media (max-width: 767px) {
    .header-widget-desktop {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .header-widget-large {
        display: inline-flex !important;
        align-items: center;
    }
}
@media (max-width: 1199px) {
    .header-widget-large {
        display: none !important;
    }
}

/* Premium Account Menu & Sidebar Styling */
.account-sidebar {
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid #f1f5f9 !important;
    background: #ffffff;
}
.account-menu .nav-item {
    margin-bottom: 4px;
}
.account-menu .nav-link {
    color: #475569 !important;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.account-menu .nav-link i {
    font-size: 1.15rem;
    color: #64748b;
    transition: all 0.2s ease;
}
.account-menu .nav-link:hover {
    background-color: rgba(4, 169, 245, 0.05);
    color: #04a9f5 !important;
}
.account-menu .nav-link:hover i {
    color: #04a9f5;
}
.account-menu .nav-link.active {
    background-color: #04a9f5 !important;
    color: #ffffff !important;
}
.account-menu .nav-link.active i {
    color: #ffffff !important;
}
.menu-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

/* Soft Badges for Status Indicators */
.badge-soft-primary {
    background-color: rgba(4, 169, 245, 0.08) !important;
    color: #04a9f5 !important;
    border: 1px solid rgba(4, 169, 245, 0.15) !important;
    font-weight: 600;
}
.badge-soft-success {
    background-color: rgba(40, 199, 111, 0.08) !important;
    color: #28c76f !important;
    border: 1px solid rgba(40, 199, 111, 0.15) !important;
    font-weight: 600;
}
.badge-soft-warning {
    background-color: rgba(255, 159, 67, 0.08) !important;
    color: #ff9f43 !important;
    border: 1px solid rgba(255, 159, 67, 0.15) !important;
    font-weight: 600;
}
.badge-soft-danger {
    background-color: rgba(234, 84, 85, 0.08) !important;
    color: #ea5455 !important;
    border: 1px solid rgba(234, 84, 85, 0.15) !important;
    font-weight: 600;
}
.badge-soft-secondary {
    background-color: rgba(130, 134, 139, 0.08) !important;
    color: #82868b !important;
    border: 1px solid rgba(130, 134, 139, 0.15) !important;
    font-weight: 600;
}

/* Ticket Stats Cards */
.ticket-stat-card {
    border-radius: 14px;
    border: 1px solid #f1f5f9 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}
.ticket-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.04) !important;
}
.ticket-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Elegant Table Layout */
.table-premium {
    font-size: 0.9rem;
}
.table-premium th {
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid #f1f5f9 !important;
    padding: 16px 20px !important;
    background: #f8fafc;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.table-premium td {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9;
}
.table-premium tr:hover td {
    background-color: #f8fafc;
}
.btn-light-primary:hover {
    background-color: rgba(4, 169, 245, 0.15) !important;
}
