/* Registration Pages Styling with Hero Background */
.registration-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image:  url('../img/TK9YiquICO6MWVai7JCQWhykq6BoiIHyBhvI6jsi.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.registration-container {
    max-width: 900px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    margin: 50px 0;
}

.registration-container h1 {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #24544B;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.registration-container h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #DE5701;
}

/* Progress Bar */
.progress-bar-supplier {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-bar-supplier::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    color: #718096;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    position: relative;
    font-family: 'Montserrat', 'Arial Black', sans-serif;
}

.progress-step.active {
    background: #DE5701;
    color: #fff;
}

.progress-step.completed {
    background: #68d391;
    color: #fff;
}

.progress-label {
    position: absolute;
    top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: #4a5568;
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Roboto', sans-serif;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

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

.form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: block;
    font-family: 'Montserrat', 'Arial Black', sans-serif;
}

.form-group label span {
    color: #DE5701;
}

.form-control {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 15px;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #24544B;
    box-shadow: 0 0 0 2px rgba(36, 84, 75, 0.2);
}

.custom-gender ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.custom-gender input[type="radio"] {
    margin-right: 5px;
}

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

.btn-main, .btn-prev {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    letter-spacing: 0.5px;
}

.btn-main {
    background: #DE5701;
    color: #fff;
}

.btn-main:hover {
    background: #C54E01;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-prev {
    background: #edf2f7;
    color: #4a5568;
}

.btn-prev:hover {
    background: #e2e8f0;
}

.btn-add-account {
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    color: #DE5701;
    font-family: 'Montserrat', 'Arial Black', sans-serif;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-family: 'Roboto', sans-serif;
}

/* Background Elements */
.registration-background-element {
    position: absolute;
    z-index: 1;
    opacity: 0.6;
}

.registration-bg-element-left {
    bottom: 50px;
    left: 5%;
    max-width: 200px;
}

.registration-bg-element-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 250px;
}

.registration-bg-element-right {
    bottom: 50px;
    right: 5%;
    max-width: 200px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .registration-container {
        max-width: 95%;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .registration-container {
        padding: 25px 20px;
    }

    .registration-container h1 {
        font-size: 28px;
    }

    .progress-label {
        font-size: 0.8rem;
        width: 80px;
    }

    .registration-bg-element-left, .registration-bg-element-right {
        display: none;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-prev, .btn-main {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .registration-container {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .registration-container h1 {
        font-size: 24px;
    }

    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .progress-label {
        font-size: 0.7rem;
        top: 40px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .registration-bg-element-center {
        max-width: 150px;
    }
}
