/*
 Theme Name:   Bridge Child
 Theme URI:    https://example.com/bridge-child
 Description:  Child theme for the Bridge network
 Author:       Your Name
 Template:     bridge
 Version:      1.0.0
*/
@import url("../bridge/style.css");

/* Style the form container */
div.wpcf7[id^="wpcf7-f84"],
div.wpcf7[id^="wpcf7-f621"],
div.wpcf7[id^="wpcf7-f529"],
div.wpcf7[id^="wpcf7-f2b9df91"],
div.wpcf7[id^="wpcf7-f7feaf84"],
div.wpcf7[id^="wpcf7-f536"],
div.wpcf7[id^="wpcf7-f537"] {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Style input fields */
div.wpcf7[id^="wpcf7-"] input[type="text"],
div.wpcf7[id^="wpcf7-"] input[type="email"],
div.wpcf7[id^="wpcf7-"] textarea,
div.wpcf7[id^="wpcf7-"] select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Add spacing between form fields */
div.wpcf7[id^="wpcf7-"] label,
div.wpcf7[id^="wpcf7-"] .wpcf7-form-control-wrap,
div.wpcf7[id^="wpcf7-"] p {
    margin-bottom: 15px;
}

/* Make form field labels semi-bold */
div.wpcf7[id^="wpcf7-"] label {
    font-weight: 600;
}

/* Add spacing between radio options */
div.wpcf7[id^="wpcf7-"] .wpcf7-radio label {
    margin-right: 15px;
}

/* Ensure dropdown placeholder text is not bold */
div.wpcf7[id^="wpcf7-"] select option {
    font-weight: normal;
}

/* Style the dropdown to ensure a downward arrow appears */
div.wpcf7[id^="wpcf7-"] select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23333' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    padding-right: 35px;
    cursor: pointer;
}

/* Ensure proper arrow positioning on mobile */
@media (max-width: 480px) {
    div.wpcf7[id^="wpcf7-"] select {
        background-position: right 12px center;
    }
}

/* Style the placeholder text */
div.wpcf7[id^="wpcf7-"] input::placeholder,
div.wpcf7[id^="wpcf7-"] textarea::placeholder {
    font-weight: 300;
    color: #888;
}

/* Style the submit button */
div.wpcf7[id^="wpcf7-"] input[type="submit"] {
    background: #0073e6;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: auto;
    min-width: 150px;
    max-width: 100%;
    display: block;
    margin: 25px auto 0;
    text-align: center;
}

/* Fix button alignment on small screens */
@media (max-width: 480px) {
    div.wpcf7[id^="wpcf7-"] input[type="submit"] {
        font-size: 14px;
        padding: 10px 15px;
        width: 80%;
        max-width: 250px;
        margin: 10px auto;
        text-align: center;
    }
}

/* Style file upload list */
#uploaded-files-list {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

#uploaded-files-list p {
    margin: 3px 0;
    padding: 5px;
    background: #f0f0f0;
    display: inline-block;
    border-radius: 4px;
}

/* Country switcher styles */
.wcpbc-country-switcher {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    min-width: 180px;
}

.wcpbc-country-switcher option {
    padding: 8px;
    font-size: 14px;
}

.wcpbc-country-switcher img {
    margin-right: 6px;
    vertical-align: middle;
}
/* Style the “Proceed to Checkout” block button */
.wc-block-cart__submit.wp-block-woocommerce-proceed-to-checkout-block 
  .wc-block-cart__submit-button.contained {
  display: inline-block;              /* ensure it’s a button */
  background-color: #ff7f00 !important; /* your orange */
  color: #ffffff !important;            /* white text */
  padding: 12px 24px !important;        /* button padding */
  border: none !important;              /* remove any default border */
  border-radius: 6px !important;        /* rounded corners */
  text-decoration: none !important;     /* no underline */
  font-weight: 500 !important;
  transition: background-color .2s ease;
}

/* Hover state */
.wc-block-cart__submit.wp-block-woocommerce-proceed-to-checkout-block 
  .wc-block-cart__submit-button.contained:hover {
  background-color: #e76e00 !important; /* slightly darker on hover */
}

