/**
 * Revelo Econt Checkout Styles
 */

.revelo-econt-delivery-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.revelo-econt-delivery-wrapper h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

/* Delivery Type Options */
.revelo-econt-delivery-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.revelo-econt-delivery-options li {
    margin: 0;
}

.revelo-econt-delivery-options label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 100px;
}

.revelo-econt-delivery-options label:hover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.revelo-econt-delivery-options input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.revelo-econt-delivery-options input[type="radio"]:checked + label,
.revelo-econt-delivery-options label:has(input[type="radio"]:checked) {
    border-color: #2271b1;
    background: #f0f6fc;
    box-shadow: 0 0 0 1px #2271b1;
}

.revelo-econt-delivery-options .option-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.revelo-econt-delivery-options .option-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Select Fields */
.revelo-econt-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.revelo-econt-select:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Office Details */
.revelo-econt-office-details {
    margin-top: 10px;
    padding: 12px;
    background: #fff;
    border-left: 3px solid #2271b1;
    border-radius: 3px;
}

.revelo-econt-office-details p {
    margin: 0 0 8px 0;
    font-size: 13px;
    line-height: 1.5;
}

.revelo-econt-office-details p:last-child {
    margin-bottom: 0;
}

.revelo-econt-office-details strong {
    color: #333;
}

/* Loading */
.revelo-econt-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: #666;
    font-size: 14px;
}

.revelo-econt-loading .spinner {
    float: none;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .revelo-econt-delivery-options {
        grid-template-columns: 1fr;
    }

    .revelo-econt-delivery-options label {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        min-height: auto;
        padding: 15px;
    }

    .revelo-econt-delivery-options .option-icon {
        margin-bottom: 0;
    }
}

/* Form Row Spacing */
.revelo-econt-delivery-wrapper .form-row {
    margin-bottom: 15px;
}

.revelo-econt-delivery-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.revelo-econt-delivery-wrapper .required {
    color: #dc3232;
}

.revelo-econt-shipping-summary h2.woocommerce-column__title {
    font-size: 18px;
}