/**
 * LQA Checkout Styles
 */

/* Base Styles */
.lqa-checkout-body {
    min-height: 100vh;
    background: #f5f5f5;
}

/* Button Styles */
.lqa-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lqa-btn-primary {
    background-color: #2196F3;
    color: white;
}

.lqa-btn-primary:hover {
    background-color: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.lqa-btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.lqa-btn-secondary:hover {
    background-color: #e8e8e8;
}

.lqa-btn-success {
    background-color: #4CAF50;
    color: white;
}

.lqa-btn-success:hover {
    background-color: #45a049;
}

.lqa-btn-lg {
    padding: 15px 32px;
    font-size: 16px;
}

.lqa-btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Form Styles */
.lqa-form-group {
    margin-bottom: 25px;
}

.lqa-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.lqa-form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lqa-form-control:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.lqa-form-help {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

/* Card Styles */
.lqa-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.lqa-card-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.lqa-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Alert Styles */
.lqa-alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.lqa-alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196F3;
}

.lqa-alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4CAF50;
}

.lqa-alert-warning {
    background-color: #fff3e0;
    color: #e65100;
    border-left: 4px solid #ff9800;
}

.lqa-alert-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* Grid Utilities */
.lqa-row {
    display: grid;
    gap: 20px;
}

.lqa-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

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

/* Service/Package Cards */
.service-card,
.package-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: white;
}

.service-card:hover,
.package-card:hover {
    border-color: #2196F3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.service-card.selected,
.package-card.selected {
    border-color: #2196F3;
    background: #f0f7ff;
}

.service-card.selected::after,
.package-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #2196F3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Progress Bar */
.lqa-progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin: 30px 0;
}

.lqa-progress-fill {
    height: 100%;
    background: #2196F3;
    transition: width 0.3s ease;
}

/* Navigation Buttons */
.lqa-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.lqa-navigation-left,
.lqa-navigation-right {
    display: flex;
    gap: 15px;
}

/* Cart Summary */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-name {
    flex: 1;
    color: #333;
}

.item-quantity {
    color: #666;
    font-size: 13px;
    margin: 0 15px;
}

.item-price {
    font-weight: 600;
    color: #2196F3;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

/* Loading Spinner */
.lqa-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2196F3;
    border-radius: 50%;
    animation: lqa-spin 1s linear infinite;
}

@keyframes lqa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lqa-col-2,
    .lqa-col-3,
    .lqa-col-4 {
        grid-template-columns: 1fr;
    }
    
    .lqa-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .lqa-navigation-left,
    .lqa-navigation-right {
        width: 100%;
        justify-content: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

.hidden { display: none !important; }
.visible { display: block !important; }

.text-muted { color: #999; }
.text-primary { color: #2196F3; }
.text-success { color: #4CAF50; }
.text-danger { color: #f44336; }
.text-warning { color: #ff9800; }