.rental-sync-calendar {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

#reservation-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.booking-details {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.payment-options {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.payment-option {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.3s ease;
}

.payment-option.selected {
    border-color: #0073aa;
    background: #f0f7ff;
}

.payment-option img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

#card-element {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    margin-bottom: 20px;
}

#card-errors {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 14px;
}

.button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: #005177;
}

.button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.button.secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #ddd;
    margin-top: 10px;
}

.button.secondary:hover {
    background: #e9ecef;
    color: #212529;
}

#stripe-payment-form h3 {
    margin-bottom: 20px;
    color: #212529;
    font-size: 18px;
}

.rental-sync-payment-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.payment-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.payment-step.active {
    display: block;
    opacity: 1;
}

.payment-methods-list {
    margin-bottom: 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #2271b1;
    background-color: #f8f9fa;
}

.payment-method.selected {
    border-color: #2271b1;
    background-color: #f0f7ff;
}

.payment-method img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: contain;
}

.payment-method-text h4 {
    margin: 0 0 5px 0;
    color: #1d2327;
}

.payment-method-text p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.payment-fields {
    display: none;
}

.payment-fields.active {
    display: block;
}

#card-payment-fields,
#paypal-payment-fields {
    margin-top: 20px;
    transition: all 0.3s ease;
}

#paypal-button-container {
    max-width: 500px;
    margin: 20px auto;
}

/*.stripe-form {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}*/

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

.stripe-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 5px;
}

.stripe-input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.stripe-element {
    background: #fff;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

#card-errors {
    color: #d63638;
    font-size: 14px;
    margin-top: 8px;
}

button[type="submit"] {
    background: #2271b1;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    position: relative;
}

button[type="submit"]:hover {
    background: #135e96;
}

button[type="submit"]:disabled {
    background: #ddd;
    cursor: not-allowed;
}

#spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#spinner.hidden {
    display: none;
}

.price-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.price-summary h3 {
    margin: 0 0 15px 0;
    color: #1d2327;
}

.price-details {
    font-size: 16px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.price-item:last-child {
    margin-bottom: 0;
    font-weight: bold;
}



/* Responsive */
@media (max-width: 768px) {
    .rental-sync-payment-wrapper {
        padding: 10px;
    }

    .button {
        width: 100%;
        margin: 5px 0;
    }
}

