/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Modal background overlay */
#registration-preview-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent dark background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Modal content */
.greenbidz-modal-content {
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
    animation: fadeIn .3s ease-in-out;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 5px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Close button */
.greenbidz-close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.greenbidz-close:hover {
    color: #000;
}

/* Heading */
.greenbidz-modal-content h2 {
    margin-top: 0;
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: left;
}

/* Preview field styling */
#preview-content > div {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}

#preview-content strong {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

#preview-content .greenbidz_value {
    color: #4b5563; /* gray-700 */
}

/* Buttons */
#edit-registration,
#close-registration-preview {
    padding: 10px 20px;
    border: 1px solid #4f46e5;
    background-color: #fff;
    color: #04af90;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    margin-right: 10px;
}

#edit-registration:hover,
#close-registration-preview:hover {
    background-color: #4f46e5;
    color: #fff;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}


#preview-registration,
#submit-registration {
    margin-right: 10px;
    width: 100%;
    border-color: #1e2075;
    background-color: #1e2075;
    color: #fff;
    border-radius: 5px;
}

#preview-registration:hover,
#submit-registration:hover {
    background-color: #04af90;
    color: #fff;
    border-color: #04af90;
}

.reg_label-text{
    font-weight: bolder;
    margin-right: 6px; 
}

/* Ensure intl-tel-input wraps nicely */
.iti {
    width: 100% !important;
    display: flex;
    align-items: center;
}

/* Style the actual input inside .iti */
.iti input[type="tel"] {
    width: 100% !important;
    padding-left: 50px !important; /* leave space for flag */
    height: 42px;
    font-size: 16px;
    box-sizing: border-box;
}


/* Optional: style error message */
.error-msg {
    color: red;
    font-size: 14px;
    margin-top: 4px;
    display: block;
}


 form.register {
    margin: 0 !important;
    padding: 0 !important;
}

 .iti__flag.iti__in {
    position: absolute;
    top: 12px;
}

.iti__arrow {
    margin-left: 25px !important;
    position: absolute;
    top: 19px;
}

 #preview-content>div {
    padding-bottom: 5px !important;
}


.select2-container--default .select2-selection--multiple {
	border-radius: 4px;
	padding: 4px;
	min-height: 38px;
}



/* new register form css */


#heading {
    text-transform: uppercase;
    color: #1e2075;
    font-weight: normal
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

.form-card {
    text-align: left
}

#msform fieldset:not(:first-of-type) {
    display: none
}

#msform input,
#msform textarea {
    padding: 8px 15px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: Roboto;
    color: #2C3E50;
    background-color: #ECEFF1;
    font-size: 16px;
    letter-spacing: 1px
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #1e2075;
    outline-width: 0
}

#msform .action-button {
    width: 100px;
    background: #1e2075;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 0px 10px 5px;
    float: right
}

#msform .action-button:hover,
#msform .action-button:focus {
    background-color: #311B92
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    background-color: #000000
}

.card {
    z-index: 0;
    border: none;
    position: relative
}

.fs-title {
    font-size: 25px;
    color: #1e2075;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: left
}

.purple-text {
    color: #1e2075;
    font-weight: normal
}

.steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right
}

.fieldlabels {
    color: gray;
    text-align: left
}

#progressbar {
    margin-bottom: 2rem;
    overflow: hidden;
    color: lightgrey;
    padding: 0;
}

#progressbar .active {
    color: #1e2075
}

#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 33.333%;
    float: left;
    position: relative;
    font-weight: 400
}


#progressbar #account:before {
    font-family: FontAwesome;
    content: "\f13e";
     display: flex;
    justify-content: center;
    align-items: center;
}

#progressbar #preview:before {
    font-family: FontAwesome;
    content: "\f06e";
    display: flex;
    justify-content: center;
    align-items: center;
}

#progressbar #personal:before {
    font-family: FontAwesome;
    content: "\f007";
    display: flex;
    justify-content: center;
    align-items: center;
}

#progressbar #payment:before {
    font-family: FontAwesome;
    content: "\f030";
     display: flex;
    justify-content: center;
    align-items: center;
}

#progressbar #confirm:before {
    font-family: FontAwesome;
    content: "\f00c";
     display: flex;
    justify-content: center;
    align-items: center;
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar{
 text-align: center;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #1e2075
}

.progress {
    height: 20px
}

.progress-bar {
    background-color: #1e2075 !important;
}

.fit-image {
    width: 100%;
    object-fit: cover
}

.button-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-group button {
    padding: 10px 70px;
    font-weight: 600;
    border: 0.5px solid #ddd;
    box-shadow: none;
    font-size: 16px;
    background: #fff;
}

.button-group button:first-child {
    border-radius: 30px 0px 0px 30px;
}

.button-group button:last-child {
    border-radius: 0 30px 30px 0;
}

.button-group button.active {
    background: #1e2075 !important;
    color: #fff;
}

.button-group button:hover {
    background: #e5e0ff !important;
    color: #000000;
}

.button-group button{
  color:#1e2075;
}

.woocommerce form .form-row label{
    font-weight: 600;
    margin: 0;
}

fieldset .action-button{
    display: inline-block  !important;
    font-weight: 400  !important;
    background-color: #1e2075  !important;
    color:#fff !important;
    text-align: center  !important;
    white-space: nowrap  !important;
    user-select: none  !important;
    border: 1px solid #1e2075  !important;
    padding: .5rem 1rem  !important;
    font-size: 1rem  !important;
    border-radius: 3px  !important;
    transition: all .3s  !important;
    min-height: 45px;

}

.action-button-previous{
    display: inline-block  !important;
    font-weight: 400  !important;
    background-color: #1e2075  !important;
    color:#fff !important;
    text-align: center  !important;
    white-space: nowrap  !important;
    user-select: none  !important;
    border: 1px solid #1e2075  !important;
    padding: .5rem 1rem  !important;
    font-size: 1rem  !important;
    border-radius: 3px  !important;
    transition: all .3s  !important;
    min-height: 45px;     
}

.woocommerce-Button.button{
   display: inline-block  !important;
    font-weight: 400  !important;
    background-color: #1e2075  !important;
    color:#fff !important;
    text-align: center  !important;
    white-space: nowrap  !important;
    user-select: none  !important;
    border: 1px solid #1e2075  !important;
    padding: .5rem 1rem  !important;
    font-size: 1rem  !important;
    border-radius: 3px  !important;
    transition: all .3s  !important;
    min-height: 45px;
}

.btn-card{
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    margin-top: 10px;
}


@media screen and (max-width: 480px) {
.button-group button{
padding:10px 30px;
}
  }

.category-group {
    margin-top: 15px;
}

.category-group strong {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

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

.greenbidz-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 8px 20px; /* row gap + column gap */
    max-width: 800px; /* optional: limit width */
}

.greenbidz-checkbox-grid .checkbox-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
    gap: 6px;
}
.greenbidz-checkbox-grid .checkbox-item .custom-label {
    font-size: 14px;
    margin-bottom: 0;
} 
