﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.container {
    width: 100%;
    max-width: 1000px;
}

.become-member-card {
    background-color: #f9f6f3;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 40px;
    margin: 50px 0px;
}

/* Payment Options Section */
.payment-options {
    background-color: #ece7e3;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
}

.payment-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.payment-icon {
    margin-right: 12px;
}

.payment-options h2 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.payment-options p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.payment-buttons {
    display: flex;
    gap: 16px;
}

/* Account Type Radio Buttons */
.account-type-section {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.account-type-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}



/* Company name field that shows/hides */
.company-field {
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

    .company-field.show {
        max-height: 100px;
        opacity: 1;
        margin-top: 16px;
    }

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.step {
    flex: 1;
    position: relative;
}

.step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.step-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background-color: transparent;
    z-index: 2;
    display: grid;
    place-items: center;
}

    .step-circle svg {
        display: none;
    }

.step.completed .step-circle svg {
    display: block !important;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #ccc;
}

.step.active .step-circle {
    background-color: #333;
    border-color: #333;
}

.step.active .step-line {
    background-color: #333;
}

.step-label {
    color: #777;
    font-size: 16px;
    font-weight: 500;
}

.step.active .step-label {
    color: #333;
    font-weight: 600;
}

/* Form Styles */
.form-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.become-member-card label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.become-member-card input,
.become-member-card select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.2s;
}

    .become-member-card input:focus {
        outline: none;
        border-color: #666;
    }

    .become-member-card input::placeholder {
        color: #aaa;
    }

/* Password Input */
.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.become-member-card .password-input input {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Select Styles */
.select-wrapper {
    position: relative;
}

.become-member-card select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Address Input */
.address-input {
    position: relative;
    display: flex;
    align-items: center;
}

    .address-input input {
        padding-right: 40px;
    }


/* Buttons */
.become-member-card .btn {
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: #222;
    color: white !important;
}

    .btn-primary:hover {
        background-color: #000;
    }

.btn-outline {
    background-color: transparent;
    border: 1px solid #222 !important;
    color: #222 !important;
}

    .btn-outline:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

.btn-next,
.btn-complete {
    background-color: #e63946;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
}

    .btn-next:hover,
    .btn-complete:hover {
        background-color: #d62b39;
    }


.step.completed .step-circle {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.step.completed .step-line {
    background-color: #4CAF50;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .become-member-card {
        padding: 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .payment-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .progress-steps {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .step {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .step-indicator {
        margin-bottom: 0;
        width: 20px;
    }

    .step-line {
        display: none;
    }
}

.business-domain-message {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #856404;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
