/* WooCommerce Checkout Block */
.woocommerce-checkout-block {
    background: #fff;
}

.woocommerce-checkout-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.woocommerce-checkout-block .woocommerce-checkout {
    padding: 30px 200px 40px;
}

/* Checkout Form Styling - Match Gravity Forms */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e428b;
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.woocommerce-checkout .form-row label .required {
    color: #c92a2a;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    background: #fff;
    color: #333;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="password"]:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #1e428b;
}

.woocommerce-checkout textarea {
    min-height: 100px;
    resize: vertical;
}

.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #999;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 15px;
    font-size: 14px;
    color: #333;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    font-size: 14px;
    font-weight: normal;
}

.woocommerce-checkout #place_order {
    background: #1e428b;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    text-transform: capitalize;
}

.woocommerce-checkout #place_order:hover {
    background: #163370;
}

.woocommerce-checkout .woocommerce-NoticeGroup {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.woocommerce-checkout .woocommerce-message {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
}

h3#order_review_heading {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #1e428b;
}
