﻿
body {
    font-family: 'Open Sans Hebrew',sans-serif;
    position: relative;
    background: #fff;
    font-size: 14px;
}
.bg-menu-theme {
    background-color: #003365 !important;
}
.bg-menu-theme .menu-link {
        color: #ffffff;
    }
 /*   .bg-menu-theme .menu-inner .menu-sub .menu-item:not(.active) > .menu-link::before {
        color: #ffffff;
    }*/
    .bg-menu-theme .menu-inner .menu-sub .menu-item:not(.active) > .menu-link::before {
        color: #ffffff !important;
    }
.card-img-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}
.card-img-left {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.card-home-bg {
    background-color: #00839f;
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 1.125rem rgba(75, 70, 92, 0.1);
}
.website-analytics-text-bg {
    background-color: #555555;
    padding: 0.25rem 0.65rem;
    border-radius: 0.375rem;
    min-width: 46px;
    text-align: center;
}
.swiper-container .swiper-wrapper .swiper-slide .website-analytics-text-bg {
    background-color: #6258cc;
    padding: 0.25rem 0.65rem;
    border-radius: 0.375rem;
    min-width: 46px;
    text-align: center;
}
.mid-text{
    font-size:calc(0.85rem + 0.1vw);
}
.mid-2-text {
    font-size: calc(0.95rem + 0.1vw);
}

@media (min-width: 1200px) {
    .mid-text {
        font-size: 1.4rem;
    }
}
    .mid-2-text {
        font-size: 1.5rem;
    }

.badge {
        --bs-badge-font-size: 0.91em;
    }
.badge-lg {
    --bs-badge-font-size: 1.4em;
}
.badge-xl {
    --bs-badge-font-size: 2.6em;
}

.cart-bottom {
    background-color: #000000;
    padding: 5px;
    display: flex;
    height: 80px;
    /*flex-grow: 1;*/
    align-items: center;
    justify-content: center;
    box-shadow: 0 0px 10px 0 rgb(80 177 184);
}
.cart-item {
    position: relative;
    display: block;
    border-top:1px solid #dedede;
    padding:5px;
}
.cart-total {
   font-weight:bold;
   font-size:1.2rem;
   
   
}
.bs-stepper-pane:not(.fade), .bs-stepper .content:not(.fade){
    display:unset;
}
.checkout-cart-item-extra {
    display: inline-flex;
    list-style: none;
}

table.dataTable td.dt-control:before {
   
  
    border-radius: 0.01em;
    box-shadow: 0 0 0.1em #f7f7f7;   
    background-color: #00839f;
}
.faq-header {
    background: url("/images/contact-LogateBI.png");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 300px !important;
}

 .faq-header .input-wrapper {
        position: relative;
        width: 100%;
        max-width: 55%;
    }

@media (max-width: 575.98px) {
    .faq-header .input-wrapper {
        max-width: 70%;
    }
}

.light-style .bg-faq-section {
    background-color: rgba(75, 75, 75, 0.04);
}
.help-center-header {
    background: url("/images/contact-LogateBI.png");
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px !important;
}

    .help-center-header .input-wrapper {
        position: relative;
        width: 100%;
        max-width: 55%;
    }

@media (max-width: 575.98px) {
    .help-center-header .input-wrapper {
        max-width: 70%;
    }
}

.light-style .bg-help-center {
    background-color: #fff;
}

.light-style .help-center-bg-alt {
    background-color: #fbfbfc;
}
.top-links {
    color: #00839f;
    font-size: 1.4rem;
    padding-left: 0.8rem;
}
    .top-links:hover {
        color: #7367f0;
        font-size: 1.4rem;
        padding-left: 0.8rem;
    }
.writing-cube .form-control{
    font-size:0.8rem;
}
.writing-cube .form-select {
    font-size: 0.8rem;
}
.writing-option-cube{
    display:none;
}
.max-w-300{
    max-width:300px;
}
.max-h-300 {
    max-height: 300px;
}
.input-quantity {
    min-height: calc(1.5em + 0.232rem + 2px);
    height: 0.5rem;
    font-size: 0.9125rem;
}
.btn-purple {
    background-color: #000000;   
    color: #ffffff;
}
.btn-purple:hover {
        background-color: #7367f0;
        color: #ffffff;
    }
.max-h-100{
    max-height:100px;
}
.max-h-80 {
    max-height: 80px;
}
.min-h-80 {
    min-height: 80px;
}
.min-h-100 {
    min-height: 100px;
}
.max-w-60 {
    max-width: 100px;
}
/*.offcanvas-header {
    background-color: #436472fa;
    color: #ffffff;
}*/
#RightSideBarCart .list-group-item {
    border-radius: 0;
}
#CartItems  li:nth-child(odd):not(.card-link) {
    background-color: #dedede1a;
}
#CartItems .card-link + .card-link {
    margin-right: 0.6rem;
    margin-left: 0;
}
.bg-checkout-header {
    background: url(../images/header.png);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px !important;
}
#wizard-checkout {
   /* background-color: #dedede3d;*/
}
.text-purple {
    color:#786df1;
}
.bg-purple {
    
    background-color: #786df1;
}
.old-price {
    text-decoration: line-through;
    color:#ff0000;
    font-size:1.4rem;
}
#ContentRepeater .bg-grey {
    background-color: #dedede40;
  

}
.bg-label-light-purple {
    background-color: #fff0ffb0 !important;
    color: #eb11d8 !important;
}
.bg-label-purple {
    background-color: #fbfaf9 !important;
    color: #796ef1 !important;
}
.hidden{
    display:none;
}
/*.d-inline{
  display:inline;
}*/
.table th {
    text-align: right;
}
/* Toast Container */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    height: 100px;
    pointer-events: none;
}

/* Toast Styles */
.toast {
    display: flex;
    align-items: center;
   
    width: auto;
    max-width: 550px;
    font-size: 1.875rem;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    opacity: 0;
    pointer-events: auto;
    transition: opacity 0.15s linear;
}

    .toast.show {
        opacity: 1;
    }

.toast-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #6c757d;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px);
}

.toast-body {
    padding: 0.75rem;
    word-wrap: break-word;
    font-size:1.5rem;
}

.toast-icon {
    width: 30px;
    height: 50px;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* Success Toast */
.toast.toast-success {
    border-right: 4px solid #198754;
}

    .toast.toast-success .toast-icon {
        color: #198754;
    }

/* Info Toast */
.toast.toast-info {
    border-right: 4px solid #0dcaf0;
}

    .toast.toast-info .toast-icon {
        color: #0dcaf0;
    }

/* Warning Toast */
.toast.toast-warning {
    border-right: 4px solid #ffc107;
}

    .toast.toast-warning .toast-icon {
        color: #ffc107;
    }

/* Error Toast */
.toast.toast-error {
    border-right: 4px solid #dc3545;
}

    .toast.toast-error .toast-icon {
        color: #dc3545;
    }
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

/* Loading spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loading text */
.loading-text {
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

/* =====================================================
   App Store & Client Orders Styles
   ===================================================== */

/* Page Header (shared) */
.page-header-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}
.page-header-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.page-header-gradient h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.page-header-gradient p {
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Group Filter */
.group-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.group-filter-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    border: 2px solid #e9ecef;
    background: white;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.group-filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}
.group-filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}
.group-filter-btn i {
    margin-left: 0.5rem;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* App Card */
.app-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.app-card.featured {
    border: 2px solid #667eea;
}
.app-card.owned {
    border: 2px solid #28a745;
}
.app-card-image {
    height: 160px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.app-card-image img {
    max-height: 100px;
    max-width: 80%;
    object-fit: contain;
}
.app-card-image .placeholder-icon {
    font-size: 4rem;
    color: #adb5bd;
}
.app-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}
.app-badge.featured {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: white;
}
.app-badge.owned {
    background: #28a745;
    color: white;
}
.app-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.app-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}
.app-card-group {
    font-size: 0.85rem;
    color: #667eea;
    margin-bottom: 0.75rem;
}
.app-card-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.5;
}
.app-card-pricing {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.price-row:last-child {
    margin-bottom: 0;
}
.price-label {
    color: #666;
    font-size: 0.9rem;
}
.price-value {
    font-weight: 700;
    color: #333;
}
.price-value.main {
    font-size: 1.5rem;
    color: #667eea;
}
.app-card-footer {
    padding: 0 1.5rem 1.5rem;
}
.btn-order {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-order:hover {
    transform: scale(1.02);
}
.btn-order.owned {
    background: #e9ecef;
    color: #666;
    cursor: default;
}

/* Order Modal */
.modal-app-details .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.5rem 0.5rem 0 0;
}
.modal-app-details .modal-body {
    padding: 2rem;
}
.order-summary {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}
.order-summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid #667eea;
}

/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}
.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}
.stat-card.pending i { color: #ffc107; }
.stat-card.active i { color: #28a745; }
.stat-card.expired i { color: #6c757d; }
.stat-card.cancelled i { color: #dc3545; }
.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.stat-card p {
    color: #666;
    margin-bottom: 0;
}

/* Orders Table */
.orders-table-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}
.orders-table-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.orders-table-header h4 {
    margin: 0;
    font-weight: 700;
}
.orders-table {
    width: 100%;
}
.orders-table th {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
}
.orders-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}
.orders-table tr:hover {
    background: #f8f9fa;
}
.order-app {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.order-app-image {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.order-app-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.order-app-image i {
    font-size: 1.5rem;
    color: #adb5bd;
}
.order-app-name {
    font-weight: 600;
}

/* Status Badge */
.status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}
.status-badge.active {
    background: #d4edda;
    color: #155724;
}
.status-badge.expired {
    background: #e2e3e5;
    color: #383d41;
}
.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f8f9fa;
    color: #495057;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}
.filter-tab:hover {
    background: #e9ecef;
}
.filter-tab.active {
    background: #667eea;
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}
.empty-state i {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
}

/* Page Loading Overlay */
.page-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.page-loading-overlay.hidden {
    display: none;
}

.btn-cancel {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}