/**
 * Vendor Registration Form Styles
 */

.vendor-registration-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Feedback Messages */
.form-feedback {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 500;
}

.form-feedback.error {
    background: #fff5f5;
    color: #c53030;
    border-left: 4px solid #fc8181;
}

.form-feedback.success {
    background: #f0fff4;
    color: #22543d;
    border-left: 4px solid #68d391;
}

.form-feedback.info {
    background: #ebf8ff;
    color: #2c5282;
    border-left: 4px solid #63b3ed;
}

/* Steps */
.vreg-step {
    min-height: 300px;
}

.vreg-step h2 {
    color: #2d3748;
    margin-bottom: 30px;
    font-size: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

/* Password Toggle Button */
.password-wrapper {
    position: relative;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    padding: 5px 8px;
    color: #718096;
    transition: all 0.2s;
    z-index: 10;
    line-height: 1;
}

.toggle-password:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
}

.toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

.toggle-password:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 4px;
}

.toggle-password .eye-icon {
    display: block;
    transition: opacity 0.2s;
}

/* Coverage Selection */
.coverage-container {
    margin: 20px 0;
}

.coverage-section {
    margin-bottom: 30px;
}

.coverage-section h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Multi-select dropdown for states */
.state-multiselect {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
}

.state-multiselect:focus {
    outline: none;
    border-color: #667eea;
}

.state-multiselect option {
    padding: 8px;
}

.state-multiselect option:checked {
    background: #667eea linear-gradient(0deg, #667eea 0%, #667eea 100%);
    color: white;
}

.help-text {
    font-size: 13px;
    color: #718096;
    margin-top: 8px;
    font-style: italic;
}


.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.coverage-checkbox {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.coverage-checkbox:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.coverage-checkbox input[type="checkbox"] {
    margin-right: 8px;
}

.coverage-checkbox input[type="checkbox"]:checked+span {
    font-weight: 600;
    color: #667eea;
}

.coverage-summary {
    background: #edf2f7;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.coverage-summary h3 {
    margin: 0;
    color: #2d3748;
    font-size: 20px;
}

/* Summary Section */
.summary-container {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
}

.summary-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.summary-section:last-child {
    border-bottom: none;
}

.summary-section h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 18px;
}

.summary-section p {
    margin: 8px 0;
    color: #4a5568;
}

.total-fee {
    font-size: 20px;
    color: #667eea;
    margin-top: 15px !important;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
    margin-right: 10px;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

/* Loader */
#coverage-selection-loader {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .vendor-registration-wrapper {
        padding: 20px;
        margin: 20px 10px;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .btn-secondary {
        margin-right: 0;
    }
}