/* Common styles */
.signup-container {
    max-width: 85rem !important;
    margin: 0 auto;
}

/* Progress bar */
.progress-steps {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
    max-width: 135rem !important;
    width: calc(100% - 8rem) !important;
}


.progress-steps .step {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    background: #fff;
    margin-right: 70px;
}

.step-text {
    font-size: 1.6rem;
	font-weight: 600;
    white-space: nowrap;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
	font-weight: bold;
}

.step.active .step-number {
    background: #00442A;
    color: #fff;
}

.step.active + .step-text {
    color: #00442A;
    font-weight: 600;
}

.step.active .step-number::before {
    background: #000;
}

.step .step-number::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: #eee;
    top: calc(50% - 1px);
    left: -60px;
}

.progress-steps .step:first-child .step-number::before {
    display: none;
}


/* Form styles */
.form-section {
    margin-bottom: 40px;
}

.section-title {
    color: #00442A;
    font-size: 24px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    font-size: 16px;
}

.form-input:focus {
    border-color: #00442A;
    outline: none;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.radio-group input[type="radio"] {
    margin-right: 0 !important;
        accent-color: #00442A;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.radio-button {
    padding: 0 1.5rem;
    background-color: #E8F5EE;
    color: #00442A;
    font-weight: bold;
    border-radius: 8px;
}

.radio-button label {
    font-weight: bold;
    margin: 0;
    padding: 1rem;
}

.radio-button input {
    margin: 0;
}

/* Error state for form inputs */
.form-input.error {
    border-color: #d9534f;
    background-color: rgba(217, 83, 79, 0.05);
}

.form-input.error:focus {
    border-color: #d9534f;
    box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.25);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
}

/* Navigation buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

/* Email validation button states */
button[type="submit"] {
    background-color: #00442A;
    color: white;
    padding: 12px 24px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

button[type="submit"].validating {
    background-color: #f5a623;
    position: relative;
}

button[type="submit"].invalid {
    background-color: #d9534f;
}

/* Email validation message styles */
.email-validation-message {
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.email-validation-message.checking {
    color: #f5a623;
}

.email-validation-message.valid {
    color: #00442A;
}

.email-validation-message.invalid {
    color: #d9534f;
}

.email-validation-message.error {
    color: #d9534f;
}

/* Postcode validation styles moved to form-step.css */

.prev-step {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
}
.prev-step:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 2L1.5 8L7.5 14' stroke='%2300442A' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 10px;
    height: 15px;
    background-size: contain;
    margin-right: 5px;
}

/* Additional styles for business information */
.same-as-account {
    background: #E5E5E5;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    appearance: none;
    background: white;
    font-size: 16px;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='9' viewBox='0 0 16 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 7L14 2' stroke='%2300442A' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1em;
    font-family: inherit;
    padding: 1.5rem 1.8rem;
    border-radius: 8px;
    font-size: 1.6rem;
}


/* Info icon styles */
.info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background-color: #00442A;
    color: white;
    font-style: normal;
    font-size: 12px;
    margin-left: 4px;
    cursor: help;
    transition: background-color 0.2s;
    position: relative;
}

.info-icon:hover {
    background-color: #005a30;
}

/* Tooltip styles */
.info-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background-color: #333;
    color: white;
    font-size: 14px;
    border-radius: 4px;
    white-space: normal;
    width: 300px;
    text-align: center;
    z-index: 1000;
    margin-bottom: 5px;
    line-height: 1.4;
}

.info-icon:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    margin-bottom: -5px;
}

/* Select fruit button states moved to form-step.css */

/* Selection groups */
.delivery-contact-selection,
.invoice-contact-selection, 
.invoice-approver-selection,
.invoice-address-selection {
    margin-bottom: 20px;
}

.invoice-address-selection .radio-group,
.delivery-contact-selection .radio-group,
.invoice-contact-selection .radio-group,
.invoice-approver-selection .radio-group {
    margin-bottom: 1.5rem;
}