/* Merchant Join Page Styles */

/* Banner */
.join-banner {
    background: linear-gradient(135deg, #FFC300 0%, #FF9900 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* Form Wrapper */
.join-form-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Steps */
.form-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 30px;
    height: 30px;
    background-color: #e0e0e0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step.active .step-num {
    background-color: #FFC300;
    color: #333;
}

.step-text {
    font-size: 14px;
    color: #666;
}

.step.active .step-text {
    color: #333;
    font-weight: bold;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 10px;
    max-width: 100px;
    margin-bottom: 20px; /* Adjust for text alignment */
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    border-left: 4px solid #FFC300;
    padding-left: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #ff4d4f;
    margin-left: 4px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #FFC300;
    outline: none;
}

/* Verify Code */
.input-with-btn {
    display: flex;
    gap: 10px;
}

.btn-send-code {
    padding: 0 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-send-code:hover {
    background-color: #e0e0e0;
    color: #333;
}

.btn-send-code:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Upload Box */
.upload-box {
    width: 200px;
    height: 140px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
    background-color: #fafafa;
}

.upload-box:hover {
    border-color: #FFC300;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
}

.upload-placeholder i {
    font-size: 24px;
    margin-bottom: 8px;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fff;
}

.help-text {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* Actions */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-submit-join {
    background-color: #FFC300;
    color: #333;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit-join:hover {
    background-color: #ffb800;
}

/* Responsive */
@media (max-width: 768px) {
    .join-form-wrapper {
        padding: 20px;
    }
    
    .input-with-btn {
        flex-direction: column;
    }
    
    .btn-send-code {
        width: 100%;
        padding: 10px;
    }
}
