/* ===== MAIN WRAPPER ===== */
.aseq-wrapper { 
    max-width: 1200px; 
    margin: 20px auto; 
    font-family: 'Segoe UI', Arial, sans-serif; 
}

/* ===== COMPANY HEADER ===== */
.aseq-company-header { 
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
    color: #ffffff;
    padding: 25px 30px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.aseq-company-name-ar { 
    font-size: 24px; 
    font-weight: 700; 
    margin: 0; 
    color: #ffffff;
}
.aseq-company-name-en { 
    font-size: 20px; 
    font-weight: 600; 
    margin: 0; 
    opacity: 0.95;
    color: #ffffff;
}
.aseq-company-details { 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
    font-size: 14px; 
    margin-top: 5px; 
    color: #ffffff;
}
.aseq-company-details span { 
    opacity: 0.95;
    color: #ffffff;
}

/* ===== LANGUAGE TOGGLE ===== */
.aseq-lang-toggle { display: flex; gap: 8px; }
.aseq-lang-btn { 
    padding: 6px 18px; 
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}
.aseq-lang-btn:hover { background: rgba(255,255,255,0.2); }
.aseq-lang-btn.active { 
    background: #ffffff; 
    color: #1a5276; 
    border-color: #ffffff; 
}

/* ===== CONTAINER ===== */
.aseq-container { 
    background: #fff; 
    padding: 30px; 
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e8f0;
    border-top: none;
}
.aseq-quote-header { text-align: center; margin-bottom: 30px; }
.aseq-title-ar { color: #1a5276; font-size: 28px; margin: 0; }
.aseq-title-en { color: #1a5276; font-size: 26px; margin: 0; }
.aseq-subtitle-ar, .aseq-subtitle-en { color: #666; font-size: 16px; margin: 5px 0 0; }

/* ===== FOUNDATION SECTION ===== */
.aseq-foundation-section { 
    background: #f8faff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #d4e2f0;
    margin-bottom: 30px;
}
.aseq-foundation-section h3 { color: #1a5276; margin-top: 0; }
.aseq-foundation-options { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 15px;
    margin: 15px 0;
}
.aseq-foundation-card {
    border: 2px solid #dce6f0;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
}
.aseq-foundation-card:hover { 
    border-color: #2e86c1; 
    box-shadow: 0 2px 12px rgba(46,134,193,0.15); 
}
.aseq-foundation-card input[type='radio'] { 
    margin-right: 10px; 
    transform: scale(1.2);
    accent-color: #1a5276;
}
.aseq-foundation-card:has(input:checked) { 
    border-color: #1a5276; 
    background: #f0f7ff;
    box-shadow: 0 2px 12px rgba(26,82,118,0.2);
}
.aseq-foundation-content { 
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.aseq-foundation-name-ar { 
    font-weight: 700; 
    font-size: 18px; 
    color: #1a5276; 
}
.aseq-foundation-name-en { 
    font-weight: 600; 
    font-size: 16px; 
    color: #1a5276; 
    display: none; 
}
.aseq-foundation-price { 
    font-size: 20px; 
    font-weight: 700; 
    color: #2e86c1; 
}
.aseq-foundation-desc-ar, .aseq-foundation-desc-en { 
    font-size: 13px; 
    color: #666; 
}
.aseq-foundation-qty {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e8f0;
}
.aseq-foundation-qty label { 
    font-weight: 600; 
    color: #1a5276; 
}
.aseq-foundation-qty input { 
    padding: 8px 12px; 
    border: 2px solid #d4e2f0;
    border-radius: 6px;
    width: 120px;
    font-size: 16px;
}
.aseq-foundation-qty input:focus { 
    border-color: #2e86c1; 
    outline: none; 
}
.aseq-foundation-total { 
    font-size: 20px; 
    font-weight: 700; 
    color: #1a5276;
    background: #eaf2f8;
    padding: 5px 15px;
    border-radius: 6px;
}
#aseq-foundation-total-value { color: #2e86c1; }

/* ===== ADD-ONS SECTION ===== */
.aseq-addons-section {
    margin: 30px 0;
    padding: 20px;
    background: #fafcfe;
    border-radius: 10px;
    border: 1px solid #e8eef4;
}
.aseq-addons-section h3 { color: #1a5276; margin-top: 0; }
.aseq-addons-subtitle-ar, .aseq-addons-subtitle-en { 
    color: #666; 
    font-size: 14px; 
    margin: -5px 0 15px; 
}
.aseq-addons-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 15px;
    margin: 15px 0;
}
.aseq-addon-item {
    background: #fff;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s;
}
.aseq-addon-item:hover { 
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); 
}
.aseq-addon-item:has(.aseq-addon-checkbox:checked) { 
    border-color: #2e86c1;
    background: #f8fbff;
}
.aseq-addon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.aseq-addon-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
}
.aseq-addon-checkbox-label input[type='checkbox'] { 
    transform: scale(1.2); 
    accent-color: #1a5276;
}
.aseq-addon-base-price { 
    font-size: 13px; 
    color: #2e86c1; 
    font-weight: 600; 
}
.aseq-addon-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #dde7f0;
}
.aseq-addon-field {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}
.aseq-addon-field input {
    padding: 4px 8px;
    border: 1px solid #d4e2f0;
    border-radius: 4px;
    width: 70px;
    font-size: 14px;
}
.aseq-addon-field input:focus { 
    border-color: #2e86c1; 
    outline: none; 
}
.aseq-addon-unit { color: #555; font-weight: 500; }
.aseq-addon-total { 
    font-weight: 700; 
    color: #1a5276;
    font-size: 15px;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dotted #dde7f0;
}
.aseq-addon-total-value { color: #2e86c1; }
.aseq-addon-desc { font-size: 12px; color: #888; margin-top: 2px; }
.aseq-addons-summary {
    margin-top: 15px;
    padding: 12px 20px;
    background: #eaf2f8;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
}
#aseq-addons-total-value { color: #2e86c1; font-weight: 700; }

/* ===== SUMMARY ===== */
.aseq-summary {
    margin-top: 30px;
    padding: 20px;
    background: #fafcfe;
    border-radius: 10px;
    border: 2px solid #d4e2f0;
}
.aseq-summary h3 { color: #1a5276; margin-top: 0; }
.aseq-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #eef3f8;
}
.aseq-summary-row:last-child { border-bottom: none; }
.aseq-subtotal-row { background: #f0f7ff; }
.aseq-vat-row { background: #fafafa; }
.aseq-total-row {
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
    color: #ffffff;
    border-radius: 6px;
    padding: 15px 20px;
    margin-top: 5px;
}
.aseq-total-row .aseq-summary-value { color: #ffffff; }
.aseq-summary-value { font-weight: 600; font-size: 16px; }

/* ===== DOWNLOAD BUTTON ===== */
.aseq-download { text-align: center; margin-top: 30px; }
.aseq-btn {
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26,82,118,0.3);
}
.aseq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26,82,118,0.4);
}
.aseq-btn:active { transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .aseq-company-header { 
        flex-direction: column; 
        text-align: center; 
        padding: 20px; 
    }
    .aseq-company-details { justify-content: center; }
    .aseq-lang-toggle { margin-top: 10px; }
    .aseq-foundation-options { grid-template-columns: 1fr; }
    .aseq-addons-grid { grid-template-columns: 1fr; }
    .aseq-addon-fields { flex-direction: column; align-items: stretch; }
    .aseq-addon-field { justify-content: center; }
    .aseq-foundation-qty { 
        flex-direction: column; 
        align-items: stretch; 
        text-align: center; 
    }
    .aseq-foundation-qty input { width: 100%; }
    .aseq-summary-row { flex-wrap: wrap; gap: 5px; }
    .aseq-container { padding: 15px; }
}
@media (max-width: 480px) {
    .aseq-company-name-ar { font-size: 18px; }
    .aseq-company-name-en { font-size: 16px; }
    .aseq-company-details { 
        font-size: 12px; 
        gap: 10px; 
        flex-direction: column; 
    }
    .aseq-title-ar, .aseq-title-en { font-size: 22px; }
    .aseq-btn { 
        padding: 12px 25px; 
        font-size: 16px; 
        width: 100%; 
    }
}
/* Mobile download notice */
.aseq-mobile-notice {
    display: none;
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .aseq-mobile-notice {
        display: block;
    }
}

/* ===== FREE USER NOTICE ===== */
.aseq-free-notice {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 6px;
    padding: 10px 15px;
    margin-top: 10px;
    text-align: center;
    color: #0d47a1;
    font-weight: 500;
    font-size: 14px;
}

/* ===== FREE USER ADDON HIDDEN ===== */
.aseq-addon-total-hidden {
    color: #856404;
    font-weight: 600;
    padding: 4px 10px;
    background: #fff3cd;
    border-radius: 4px;
    font-size: 14px;
}

/* ===== SUBSCRIPTION STATUS ===== */
.aseq-subscription-status {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
}
.aseq-subscribed-badge {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}
.aseq-free-badge {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
}
.aseq-free-badge .aseq-subscribe-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s;
}
.aseq-free-badge .aseq-subscribe-btn:hover {
    background: #0056b3;
}

/* ===== HIDDEN PRICES ===== */
.aseq-foundation-price-hidden,
.aseq-addon-base-price-hidden {
    color: #999;
    font-size: 14px;
}

/* ===== ADDON QUANTITY DISPLAY ===== */
.aseq-addon-qty-display {
    font-weight: 600;
    color: #1a5276;
    font-size: 16px;
    min-width: 50px;
    display: inline-block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .aseq-free-badge .aseq-subscribe-btn {
        display: block;
        margin-top: 10px;
    }
}