﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #f5f5f5;
    padding: 20px;
}

.checkout-btn {
    background-color: #10a310;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.payment-modal {
    background-color: white;
    border-radius: 12px 0 0 12px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0px;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.payment-options {
    margin-bottom: 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

    .payment-method:hover {
        border-color: #10a310;
    }

    .payment-method.selected {
        border-color: #10a310;
        background-color: #f0fff0;
    }

.payment-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #10a310;
    font-size: 18px;
}

.payment-details {
    flex: 1;
}

.payment-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.payment-description {
    font-size: 13px;
    color: #666;
}

.upi-input-container {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.card-input-container {
    display: none;
    margin-top: 15px;
}

.input-group {
    margin-bottom: 15px;
}

    .input-group label {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 500;
    }

    .input-group input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 15px;
    }

.card-row {
    display: flex;
    gap: 15px;
}

    .card-row .input-group {
        flex: 1;
    }

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.pay-now-btn {
    background-color: #10a310;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

    .pay-now-btn:disabled {
        background-color: #cccccc;
        cursor: not-allowed;
    }


.order-card {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
   /* margin: 10px;*/
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.order-card-body {
    padding: 15px;
    flex-grow: 1;
}

.order-card-header {
    display: flex;
    align-items: center;
}

.product-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 12px;
    margin: auto;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: -6px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}

.quantity-info {
    margin: 15px 0;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.location-code {
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.order-card-footer {
    border-top: 1px solid #eee;
    padding: 10px;
}

.btn-primary {
    background-color: #fd7e14;
    color: #fff;
    border: none;
    padding: 8px 0;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

    .btn-primary:hover {
        background-color: #fd7e14d1;
    }

@media(max-width:767px) {
    .mobile_header-action {
        display: block;
    }

    .desktop_header-action {
        display: none;
    }
}

@media(min-width:768px) {
    .mobile_header-action {
        display: none;
    }

    .desktop_header-action {
        display: block;
    }
    
}
