/* Vendor Registration Styles */
.vendor-registration-section {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    background-color: var(--white-color);
    background-image: linear-gradient(to bottom, #fff, #fafbff);
}

.vendor-reg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZGVmcz4KPHBhdHRlcm4gaWQ9InBhdHRlcm4iIHg9IjAiIHk9IjAiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+CjxyZWN0IHg9IjE4IiB5PSIxOCIgd2lkdGg9IjQiIGhlaWdodD0iNCIgZmlsbD0icmdiYSg3NywgMTcxLCAyNDcsIDAuMDMpIiAvPgo8L3BhdHRlcm4+CjwvZGVmcz4KPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIgLz4KPC9zdmc+');
    pointer-events: none;
    opacity: 0.5;
}

.vendor-reg-decor-line {
    position: absolute;
    height: 300px;
    width: 1px;
    z-index: 0;
}

.vendor-reg-decor-line.left {
    top: 50px;
    left: 10%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.05;
}

.vendor-reg-decor-line.right {
    top: 100px;
    right: 10%;
    background: linear-gradient(to bottom, transparent, var(--secondary-color), transparent);
    opacity: 0.05;
}

.vendor-reg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    background-image: radial-gradient(circle at 10% 20%, rgba(77, 171, 247, 0.05) 0%, transparent 25%),
                      radial-gradient(circle at 85% 60%, rgba(0, 86, 179, 0.05) 0%, transparent 35%);
}

.registration-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Progress Bar and Steps */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    height: 6px;
    background-color: rgba(77, 171, 247, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: rgba(77, 171, 247, 0.1);
    z-index: -1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.step.active, .step.completed {
    opacity: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f8ff, #fff);
    color: var(--text-color);
    position: relative;
    border: 3px solid #eef7ff;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 15px;
    z-index: 2;
}

.step.active .step-icon {
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
    border-color: rgba(77, 171, 247, 0.3);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.15);
}

.step.completed .step-icon {
    background: var(--primary-color);
    color: white;
    border-color: rgba(0, 86, 179, 0.5);
}

.step-icon i {
    font-size: 22px;
    transition: all 0.4s ease;
}

.step.active .step-icon i {
    color: var(--primary-color);
}

.step.completed .step-icon i {
    color: white;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 86, 179, 0.1);
    border: 2px solid rgba(77, 171, 247, 0.2);
    transition: all 0.4s ease;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: white;
    color: var(--primary-color);
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--text-color);
    transition: all 0.4s ease;
    line-height: 1.4;
}

.step.active .step-label, .step.completed .step-label {
    color: var(--primary-color);
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 86, 179, 0.1);
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(77, 171, 247, 0.1);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.form-step {
    display: none;
    padding: 40px;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 10px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

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

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid rgba(77, 171, 247, 0.2);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.1);
    border-color: rgba(77, 171, 247, 0.5);
    transform: translateY(-2px);
}

.input-wrapper i {
    width: 50px;
    text-align: center;
    font-size: 18px;
    color: var(--primary-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within i {
    opacity: 1;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 15px 15px 0;
    font-size: 15px;
    color: var(--text-color);
    outline: none;
    font-family: inherit;
    width: calc(100% - 50px);
}

.textarea-wrapper {
    min-height: 120px;
    align-items: flex-start;
}

.textarea-wrapper i {
    padding-top: 15px;
}

.textarea-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.input-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%230056b3" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.05);
    overflow: hidden;
    border: 1px solid rgba(77, 171, 247, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.1);
    border-color: rgba(77, 171, 247, 0.5);
    transform: translateY(-2px);
}

.file-upload-info {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 15px;
}

.file-upload-info i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
}

.file-name {
    font-size: 15px;
    color: var(--text-color);
    opacity: 0.7;
}

.file-upload-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.file-upload-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.file-upload-wrapper:hover .file-upload-btn::before {
    left: 100%;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-requirements {
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.6;
    margin-top: 10px;
    font-style: italic;
}

.selected-files-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.selected-file {
    background: rgba(77, 171, 247, 0.1);
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.selected-file i {
    font-size: 16px;
}

.selected-file .remove-file {
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.selected-file .remove-file:hover {
    color: #e74c3c;
}

/* Form Actions */
.form-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

.next-btn, .prev-btn, .submit-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.next-btn::before, .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.next-btn:hover::before, .submit-btn:hover::before {
    left: 100%;
}

/* Success Message */
.success-message {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 86, 179, 0.1);
    animation: fadeIn 0.5s ease-in-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(77, 171, 247, 0.1);
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #2ecc71, #1abc9c);
}

.message-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(to bottom right, #2ecc71, #1abc9c);
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
    position: relative;
    animation: iconPop 0.5s 0.2s ease backwards;
}

@keyframes iconPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.message-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(46, 204, 113, 0.3);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.message-icon i {
    font-size: 50px;
    color: white;
}

.success-message h3 {
    font-size: 28px;
    color: #2ecc71;
    margin-bottom: 20px;
    animation: slideUp 0.5s 0.3s ease backwards;
}

.success-message p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 30px;
    animation: slideUp 0.5s 0.4s ease backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-actions {
    animation: slideUp 0.5s 0.5s ease backwards;
}

/* Error Message */
.error-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.1);
    position: relative;
    overflow: hidden;
    animation: shakeError 0.5s ease;
}

@keyframes shakeError {
    0%, 100% {
        transform: translateX(0);
    }
    20%, 60% {
        transform: translateX(-5px);
    }
    40%, 80% {
        transform: translateX(5px);
    }
}

.error-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
}

.error-icon {
    width: 40px;
    height: 40px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.error-icon i {
    color: #e74c3c;
    font-size: 20px;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .progress-steps::before {
        left: 35px;
        right: 35px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
    }
    
    .step-icon i {
        font-size: 18px;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .step-label {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-row .form-group {
        margin-bottom: 25px;
    }
    
    .form-step {
        padding: 30px 20px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        flex: 0 0 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .progress-steps {
        gap: 15px;
    }
    
    .step {
        flex: 0 0 40%;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
    }
    
    .step-icon i {
        font-size: 16px;
    }
    
    .step-number {
        top: -5px;
        right: -5px;
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .form-action {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .form-action button {
        width: 100%;
        justify-content: center;
    }
}

/* Checkbox Styles for Solution Interests */
.checkbox-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.05);
    border: 1px solid rgba(77, 171, 247, 0.1);
}

.checkbox-item {
    position: relative;
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border: 2px solid rgba(77, 171, 247, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-custom i {
    color: var(--primary-color);
    font-size: 14px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked + label .checkbox-custom {
    background: rgba(77, 171, 247, 0.1);
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:checked + label .checkbox-custom i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-label {
    font-size: 15px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.checkbox-item:hover .checkbox-custom {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(77, 171, 247, 0.2);
}

.checkbox-item:hover .checkbox-label {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .checkbox-container {
        grid-template-columns: 1fr;
    }
}
