/* xcr-styles.css */
body {
    font-family: Arial, sans-serif;
}

.xcr-form {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    /* background-color: #EBF7F0; */
    /* background-color: #D91A5D; */
    border: 0.5px solid #D91A5D;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.xcr-form input,
.xcr-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 5px;
    border: 0.5px solid #3C3C3B;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s;
}

.xcr-form input:focus,
.xcr-form select:focus {
    border-color: #66afe9; /* Light blue color for focused state */
    outline: none; /* Remove default outline */
}

.xcr-form label {
    color: #3C3C3B;
    margin-bottom: 5px;
    margin-top: 12px;
    display: inline-block;
}

.xcr-required {
    color: #B3282D;
}

.xcr-error {
    color: #B3282D;
    font-size: 14px;
    display: none;
}

.xcr-form input.error,
.xcr-form select.error {
    border-color: #B3282D;
}

.xcr-form input[type="submit"],
.xcr-form button[type="button"] {
    background-color: #B3282D;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 12px 24px;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.xcr-form input[type="submit"]:hover,
.xcr-form button[type="button"]:hover {
    background-color: #CA970D;
}

.xcr-button-wrapper {
    display: flex;
    justify-content: flex-end;
}

.xcr-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.xcr-col {
    flex: 1;
    min-width: 200px;
}

@media (min-width: 768px) {
    .xcr-form {
        max-width: 800px;
    }
}

/* New styles for pricing display */
.xcr-pricing {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.xcr-pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.xcr-pricing-row.xcr-total {
    font-weight: bold;
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding-top: 15px;
}

.xcr-pricing-col {
    width: 45%;
    text-align: left;
}

.xcr-pricing-col:last-child {
    text-align: right;
}

/* Ensure button is aligned correctly */
.xcr-button-wrapper {
    margin-top: 30px;
    text-align: center;
}

#loading-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#xcr-loading-message {
    font-style: italic;
    color: #666;
}

#xcr-next-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#xcr-checkout-loading-message {
    font-style: italic;
    color: #666;
}

#pay-now-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#xcr-form-headline {
    margin-bottom: 70px;
    text-align: center;
}

.xcr-form-container {
    max-width: 800px; /* Adjust this value as needed */
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

@media (max-width: 840px) { /* Adjust this value based on your max-width + padding */
    .xcr-form-container {
        max-width: 100%;
    }
}

#xcr-form-headline {
    text-align: center;
}

.xcr-form {
    width: 100%;
} 