/* Rongin Pran Checkout Styles */
.rpc-checkout-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.rpc-checkout-title {
    text-align: center;
    color: #ea580c;
    margin-bottom: 25px;
    font-size: 28px;
}

.rpc-price-box {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border: 2px solid #ea580c;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.rpc-price-label {
    font-size: 14px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.rpc-price-value {
    font-size: 32px;
    font-weight: 800;
    color: #ea580c;
    display: block;
}

.rpc-total-price {
    font-size: 36px;
    font-weight: 900;
    color: #059669;
    margin-top: 10px;
}

.rpc-form-group {
    margin-bottom: 20px;
}

.rpc-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.rpc-form-input {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.rpc-form-input:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.rpc-form-input.error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.rpc-select-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.rpc-delivery-options {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.rpc-delivery-option {
    display: flex;
    align-items: center;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.rpc-delivery-option:hover {
    border-color: #ea580c;
}

.rpc-delivery-option.selected {
    border-color: #ea580c;
    background: #fff7ed;
}

.rpc-radio {
    margin-right: 12px;
    width: 20px;
    height: 20px;
}

.rpc-submit-btn {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
    border: none;
    padding: 18px;
    width: 100%;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.rpc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.2);
}

.rpc-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.rpc-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: rpc-spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes rpc-spin {
    to { transform: rotate(360deg); }
}

.rpc-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

.rpc-message.success {
    background: #f0fdf4;
    border: 2px solid #86efac;
    color: #059669;
}

.rpc-message.error {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #dc2626;
}

.rpc-variation-info {
    background: #f0fdf4;
    border: 1px solid #86efac;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .rpc-checkout-container {
        padding: 20px;
        margin: 10px;
    }
    
    .rpc-select-wrapper {
        grid-template-columns: 1fr;
    }
    
    .rpc-checkout-title {
        font-size: 24px;
    }
}