/**
 * Modern Full-Width WHMCS Order Form Stylesheet
 * Redesigned for Product Showcase Integration
 */

/* =========================================
   Layout & Grid (Full Width & No Sidebar)
   ========================================= */
#order-standard_cart {
    margin: 0 auto;
    padding: 0 0 40px 0;
    font-size: 15px;
    font-family: inherit;
    max-width: 1200px;
}

/* Hide Main Category Sidebar & Make Body 100% */
#order-standard_cart .cart-sidebar {
    display: none !important; 
}
#order-standard_cart .cart-body {
    width: 100%;
    float: none;
    padding: 0;
}

/* Make Configuration Area Full Width */
#order-standard_cart .secondary-cart-body,
#order-standard_cart .secondary-cart-sidebar {
    width: 100%;
    float: none;
    padding: 10px 0;
}

/* =========================================
   Typography & General Elements
   ========================================= */
#order-standard_cart label,
#order-standard_cart p.domain-renewal-desc {
    margin-left: 10px;
    font-weight: 500;
    font-size: 16px;
    color: #4b5563;
    direction: rtl;
}

#order-standard_cart .sub-heading {
    border-top: 1px solid #e5e7eb;
    text-align: center;
    margin: 40px 0 30px;
}
#order-standard_cart .sub-heading span {
    display: inline-block;
    position: relative;
    padding: 0 20px;
    top: -14px;
    font-size: 18px;
    font-weight: bold;
    color: #1e3a8a;
    background-color: #ffffff;
    border-radius: 20px;
}

/* =========================================
   Product Info & Order Summary
   ========================================= */
#order-standard_cart .product-info {
    margin: 0 0 25px 0;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    text-align: center;
}
#order-standard_cart .product-info .product-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

#order-standard_cart .order-summary {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 100, 209, 0.08);
    border: 1px solid #e0f2fe;
    overflow: hidden;
    margin-top: 30px;
}
#order-standard_cart .order-summary h2 {
    background: #f0f9ff;
    margin: 0;
    padding: 18px;
    color: #0369a1;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #e0f2fe;
}
#order-standard_cart .summary-container {
    padding: 25px;
    font-size: 15px;
}
#order-standard_cart .order-summary .total-due-today .amt {
    font-size: 28px;
    font-weight: bold;
    color: #dc2626;
    display: block;
    margin-top: 10px;
}

/* =========================================
   Form Controls & Inputs
   ========================================= */
#order-standard_cart .form-control {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
#order-standard_cart .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

/* =========================================
   Addon Panels
   ========================================= */
#order-standard_cart .panel-addon {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
#order-standard_cart .panel-addon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
#order-standard_cart .panel-addon .panel-body { padding: 20px; }
#order-standard_cart .panel-addon-selected {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
#order-standard_cart .panel-addon .panel-add {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}
#order-standard_cart .panel-addon-selected .panel-add {
    background-color: #10b981;
    color: #ffffff;
}

/* =========================================
   Custom Utilities & Badges
   ========================================= */
.days {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background-color: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
    margin-right: 10px;
    display: inline-block;
}

#order-standard_cart .apply-credit-container {
    padding: 20px;
    background: #eff6ff !important;
    border-radius: 12px;
    border: 1px dashed #93c5fd;
}
