.waste-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-step {
    margin-bottom: 20px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label:hover {
    background-color: #f8f8f8;
    border-color: #2c3571;
}

.radio-label input[type="radio"] {
    margin-right: 15px;
}

.radio-label .description {
    color: #666;
    font-size: 0.9em;
    margin-left: 10px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 20px;
}

.skip-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.skip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.skip-card.selected {
    border-color: #2c3571;
    background-color: #f8f8f8;
}

.skip-card .price {
    font-size: 1.5em;
    color: #2c3571;
    font-weight: bold;
    margin: 10px 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 4px;
}

.form-navigation a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    flex: 1;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form-navigation a.active {
    background-color: #2c3571;
    color: white;
}

.button-container {
    display: flex !important;
    justify-content: space-between;
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.button-container button {
    display: inline-block;
    background: #2c3571;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button-container button:hover {
    background: #1a1f4a;
}

.button-container .btn-reset {
    background: #dc3232;
}

.button-container .btn-reset:hover {
    background: #a00;
}

.error {
    border-color: #dc3232 !important;
}

.form-group.has-error label {
    color: #dc3232;
}

@media (max-width: 768px) {
    .form-navigation {
        flex-direction: column;
    }
    
    .form-navigation a {
        margin: 5px 0;
    }
}

/* Payment Section Styles */
.booking-details-section,
.booking-preview,
.payment-section {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.booking-preview {
    background: #f8f9fa;
}

.preview-content {
    margin-bottom: 20px;
}

.preview-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.price-summary {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.price-row.total {
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding-top: 10px;
    font-weight: bold;
    font-size: 1.2em;
}

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

.payment-method {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #2c3571;
}

.payment-method-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.payment-method-label input[type="radio"] {
    margin-top: 4px;
}

.payment-method-description {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
}

/* WooCommerce Payment Fields Override */
.payment-method .wc-payment-form {
    margin: 10px 0 0 25px;
}

.payment-method .wc-credit-card-form {
    padding: 0;
    border: none;
}

.payment-method .wc-credit-card-form-card-number,
.payment-method .wc-credit-card-form-card-expiry,
.payment-method .wc-credit-card-form-card-cvc {
    font-size: 1.2em;
    padding: 8px;
    background-color: #f8f9fa;
}

/* Error States */
.error {
    color: #dc3232;
    padding: 10px;
    border: 1px solid #dc3232;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #fff;
}

/* Section Headers */
.booking-details-section h4,
.booking-preview h4,
.payment-section h4 {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c3571;
    color: #2c3571;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .booking-details-section,
    .booking-preview,
    .payment-section {
        padding: 15px;
    }

    .payment-method-label {
        flex-direction: column;
    }

    .payment-method .wc-payment-form {
        margin-left: 0;
    }
}

/* Payment Processing Overlay */
#payment-processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.processing-content {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2c3571;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.processing-message {
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Payment Methods */
.payment-method {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.payment-method.selected {
    border-color: #2c3571;
    background: #f8f9fa;
}

.payment-method-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.payment-method-description-text {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* Stripe Elements */
.stripe-payment-fields {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
}

#stripe-card-element {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

#stripe-card-errors {
    color: #dc3232;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Success Message */
.success-message {
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.success-message h4 {
    color: #3c763d;
    margin-top: 0;
}

.payment-instructions {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.payment-instructions h5 {
    margin-top: 0;
    color: #2c3571;
}

/* Print Button */
.btn-print {
    background: #5cb85c;
}

.btn-print:hover {
    background: #449d44;
}

/* Confirmation Page Styles */
.booking-confirmation {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2c3571;
}

.confirmation-header h3 {
    color: #2c3571;
    margin: 0 0 10px 0;
}

.booking-details,
.delivery-details,
.payment-summary {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.detail-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.detail-item label {
    display: block;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.btn-print,
.btn-home {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-home {
    background: #2c3571;
}

.btn-home:hover {
    background: #1a1f4a;
}

.confirmation-footer {
    text-align: center;
    color: #666;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.confirmation-footer p {
    margin: 5px 0;
}

/* Print Styles */
@media print {
    .btn-print,
    .btn-home {
        display: none;
    }

    .booking-confirmation {
        padding: 0;
    }

    .booking-details,
    .delivery-details,
    .payment-summary {
        break-inside: avoid;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .btn-print,
    .btn-home {
        width: 100%;
    }
}

.company-logo {
    text-align: center;
    margin-bottom: 30px;
}

.company-logo img {
    max-width: 200px;
    height: auto;
}

/* Selected item summary */
.selected-item-summary {
    background-color: #f0f7ff;
    border: 1px solid #0073aa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.selected-item-summary h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #0073aa;
    font-size: 1em;
}

.selected-value {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

/* Disabled radio labels */
.radio-label.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.radio-label.disabled input {
    cursor: not-allowed;
}

.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
