/**
 * Mobile Customer Interface CSS
 * SuperPOS - Dolibarr POS Interface
 */

/* ==========================================
   GLOBAL STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    overflow-x: hidden;
    padding-top: 60px; /* Top header height */
    padding-bottom: 110px; /* Category menu + footer height */
    min-height: 100vh;
}

/* ==========================================
   TOP HEADER (STICKY)
   ========================================== */

.topbar-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.topbar-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.topbar-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* PWA Install button styling */
.topbar-install {
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.pwa-install-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.pwa-install-btn:active {
    transform: scale(0.95);
    background: rgba(255,255,255,0.3);
}

.pwa-install-btn:hover {
    background: rgba(255,255,255,0.3);
}

.pwa-install-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
}

/* Center logo styling */
.topbar-title {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.topbar-center-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 45px;
}

.center-logo {
    height: 45px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Alternative: if logo doesn't need white filter */
.center-logo.no-filter {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Mobile responsive */
@media (max-width: 480px) {
    .center-logo {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 360px) {
    .center-logo {
        height: 35px;
        max-width: 120px;
    }
}

.topbar-actions {
    position: relative;
}

.topbar-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.topbar-btn:active {
    transform: scale(0.95);
    background: rgba(255,255,255,0.3);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid #667eea;
}

/* ==========================================
   CATEGORY MENU (STICKY BOTTOM)
   ========================================== */

.category-menu {
    position: fixed;
    bottom: 30px; /* Footer height */
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    border-top: 1px solid #e0e0e0;
}

.category-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px;
    /*gap: 8px;*/
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.category-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-btn {
    flex-shrink: 0;
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.category-btn:active {
    transform: scale(0.95);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.main-content {
    padding: 5px;
}

.category-section {
    margin-bottom: 5px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
    padding-left: 5px;
}

.products-carousel {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 5px;
    padding: 5px 0 5px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.products-carousel::-webkit-scrollbar {
    height: 4px;
}

.products-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.products-carousel::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.products-loading,
.products-empty {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    color: #718096;
    font-size: 1rem;
}

.product-card {
    flex-shrink: 0;
    width: 160px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.product-card:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 160px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-no-image {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.no-image-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-text {
    font-size: 1.1rem;
    color: #718096;
}

/* ==========================================
   FOOTER (STICKY)
   ========================================== */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
}

.footer-info {
    font-size: 0.85rem;
    color: #718096;
    text-align: center;
}

/* ==========================================
   MODALS
   ========================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: flex-end;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #333;
}

.modal-close:active {
    transform: scale(0.95);
    background: rgba(0,0,0,0.2);
}

.modal-image {
    width: 100%;
    height: 250px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 20px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.modal-description {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 15px;
    line-height: 1.5;
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
    background: white;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 5px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qty-btn:active {
    transform: scale(0.9);
}

.qty-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    min-width: 30px;
    text-align: center;
}

.btn-add-to-cart {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-add-to-cart:active {
    transform: scale(0.98);
}

/* ==========================================
   CART MODAL
   ========================================== */

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.cart-items::-webkit-scrollbar {
    display: none;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
    font-size: 1rem;
}

.cart-item {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 0.85rem;
    color: #718096;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn-small {
    width: 30px;
    height: 30px;
    border: none;
    background: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.qty-btn-small:active {
    transform: scale(0.9);
}

.qty-display-small {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    min-width: 25px;
    text-align: center;
}

.btn-remove {
    background: #ff4757;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:active {
    transform: scale(0.9);
}

.cart-total {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.btn-validate-cart {
    width: 100%;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.btn-validate-cart:active {
    transform: scale(0.98);
}

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */

.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================
   SELECTION MODALS (BOISSONS/DESSERTS)
   ========================================== */

.selection-modal .modal-body {
    padding: 25px 20px;
}

.selection-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 20px;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.selection-grid::-webkit-scrollbar {
    display: none;
}

.selection-card {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
    position: relative;
}

.selection-card:active {
    transform: scale(0.98);
}

.selection-card.selected {
    border-color: #667eea;
    background: #f0f4ff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.selection-image {
    width: 100%;
    height: 120px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.selection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selection-image .no-image-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

.selection-info {
    padding: 12px;
}

.selection-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.selection-price {
    font-size: 1rem;
    font-weight: 700;
    color: #667eea;
}

.selection-check {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.selection-card.selected .selection-check {
    display: flex;
}

.selection-modal .modal-footer {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    background: white;
}

.btn-skip {
    flex: 1;
    background: #e2e8f0;
    color: #2d3748;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-skip:active {
    transform: scale(0.98);
    background: #cbd5e0;
}

.btn-next {
    flex: 2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-next:active {
    transform: scale(0.98);
}

.btn-validate {
    width: 100%;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.btn-validate:active {
    transform: scale(0.98);
}

/* ==========================================
   SERVICE SELECTION MODAL
   ========================================== */

.service-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 25px;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-option {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-option:active {
    transform: scale(0.98);
}

.service-option:hover {
    background: #e8e8e8;
    border-color: #667eea;
}

.service-option-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
}

.service-option-info {
    flex: 1;
}

.service-option-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.service-option-price {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
}

.service-option-arrow {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 700;
}

/* ==========================================
   PAYMENT MODALS
   ========================================== */

.payment-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 25px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.payment-option:active {
    transform: scale(0.98);
}

.payment-option:hover {
    background: #e8e8e8;
    border-color: #667eea;
}

.payment-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.payment-desc {
    font-size: 0.9rem;
    color: #718096;
}

.payment-arrow {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 700;
}

/* ==========================================
   EMAIL MODAL
   ========================================== */

.email-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.email-inputs-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.email-inputs-scroll::-webkit-scrollbar {
    display: none;
}

.email-input-container {
    margin-bottom: 20px;
}

.email-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s;
    box-sizing: border-box;
}

.email-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.email-input::placeholder {
    color: #a0aec0;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (min-width: 768px) {
    .products-carousel {
        grid-template-columns: repeat(3, 1fr);
    }

    .selection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-carousel {
        grid-template-columns: repeat(4, 1fr);
    }

    body {
        max-width: 1200px;
        margin: 0 auto;
    }

    .selection-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================
   ADD TO HOME SCREEN INSTRUCTIONS MODAL
   ========================================== */

.install-modal {
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
}

.install-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.install-instructions {
    margin-bottom: 20px;
}

.install-section {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.install-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.install-steps {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    margin: 0;
}

.install-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 15px 15px 15px 60px;
    margin-bottom: 12px;
    background: #f7fafc;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #2d3748;
    border-left: 4px solid #667eea;
}

.install-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.install-steps li strong {
    color: #667eea;
    font-weight: 700;
}

.install-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: #856404;
    margin: 0;
}

.install-footer {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.install-benefit {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin: 0;
    line-height: 1.5;
}

/* Mobile responsive for install modal */
@media (max-width: 480px) {
    .install-modal {
        max-width: 95%;
        max-height: 90vh;
        padding: 20px;
    }

    .install-modal-title {
        font-size: 1.5rem;
    }

    .install-section h3 {
        font-size: 1.1rem;
    }

    .install-steps li {
        padding: 12px 12px 12px 50px;
        font-size: 0.95rem;
    }

    .install-steps li::before {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        left: 12px;
    }
}

/* ==========================================
   INFO PANEL STYLES
   ========================================== */

.info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.info-icon {
    font-size: 24px;
    min-width: 32px;
    text-align: center;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    color: #212529;
    line-height: 1.5;
}

.info-value a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.info-value a:hover {
    text-decoration: underline;
}

.status-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.info-notice {
    margin-top: 15px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

/* Mobile responsiveness for info panel */
@media (max-width: 480px) {
    .info-item {
        padding: 12px;
        gap: 12px;
    }

    .info-icon {
        font-size: 20px;
        min-width: 28px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-value {
        font-size: 14px;
    }
}

/* ==========================================
   PAYMENT NOTIFICATIONS
   ========================================== */

.payment-notification {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    padding: 15px 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease-out;
}

.payment-notification.payment-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.payment-notification.payment-error {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Input labels */
.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.input-label .required {
    color: #dc3545;
    font-weight: bold;
}

.input-label .optional {
    color: #6c757d;
    font-weight: normal;
    font-size: 12px;
}
