/* Form Wrapper */
.octo-vendor-form-wrapper {
    width: 100%;
    max-width: 100%;
}

.octo-vendor-form {
    width: 100%;
}

/* Form Rows */
.octo-vendor-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Form Groups */
.octo-vendor-form .form-group {
    display: flex;
    flex-direction: column;
}

.octo-vendor-form .form-group.full-width {
    flex: 1 1 100%;
}

.octo-vendor-form .form-group.half-width {
    flex: 1 1 calc(50% - 10px);
}

/* Labels */
.octo-vendor-form label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 8px;
    color: #7a7a7a;
}

.octo-vendor-form label .required {
    color: #e74c3c;
}

/* Input Fields */
.octo-vendor-form input[type="text"],
.octo-vendor-form input[type="email"],
.octo-vendor-form input[type="tel"],
.octo-vendor-form input[type="number"],
.octo-vendor-form select,
.octo-vendor-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid #0040492E;
    border-radius: 18px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.octo-vendor-form input[type="text"]::placeholder,
.octo-vendor-form input[type="email"]::placeholder,
.octo-vendor-form input[type="tel"]::placeholder,
.octo-vendor-form textarea::placeholder {
    color: #8D8D8D;
}

.octo-vendor-form input[type="text"]:focus,
.octo-vendor-form input[type="email"]:focus,
.octo-vendor-form input[type="tel"]:focus,
.octo-vendor-form input[type="number"]:focus,
.octo-vendor-form select:focus,
.octo-vendor-form textarea:focus {
    outline: none;
    border-color: #004049;
}

/* Field Error States */
.octo-vendor-form input[type="text"].field-error,
.octo-vendor-form input[type="email"].field-error,
.octo-vendor-form input[type="tel"].field-error,
.octo-vendor-form input[type="number"].field-error,
.octo-vendor-form select.field-error,
.octo-vendor-form textarea.field-error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

#vendor_business_type option {
	font-family: "Monsterrat", sans-serif !important;
	color: #555;
	font-weight: 500;
}

.octo-vendor-form select#vendor_business_type {
	font-family: "Monsterrat", sans-serif !important;
	color: #555;
	font-weight: 500;
	font-size: 15px !important; 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    padding: 12px 48px 12px 15px; /* igazodik a többi inputhoz */
    background-color: #fff;

    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23004049' stroke-width='2' stroke-	 linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
	
	transition: background-position 0.2s ease;
}

.octo-vendor-form select#vendor_business_type.open {
    transform: rotateX(180deg);
}

.octo-vendor-form input[type="text"].field-error:focus,
.octo-vendor-form input[type="email"].field-error:focus,
.octo-vendor-form input[type="tel"].field-error:focus,
.octo-vendor-form input[type="number"].field-error:focus,
.octo-vendor-form select.field-error:focus,
.octo-vendor-form textarea.field-error:focus {
    border-color: #c0392b;
}

.octo-vendor-form .checkbox-group.field-error,
.octo-vendor-form .radio-group.field-error {
    border: 1px solid #e74c3c;
    border-radius: 8px;
    padding: 10px;
    background-color: #fdf2f2;
}

.octo-vendor-form .checkbox-label.field-error {
    color: #e74c3c;
}

.octo-vendor-form .field-error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

.octo-vendor-form textarea {
    resize: vertical;
    min-height: 100px;
}

.octo-vendor-form small {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Checkbox */
.octo-vendor-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.octo-vendor-form .checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: auto;
}

.octo-vendor-form .checkbox-label span {
    flex: 1;
}

/* Submit Button */
.octo-vendor-form .submit-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background-color: #004049;
    color: #fff;
    padding: 15px 45px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.octo-vendor-form .submit-button:hover {
    background-color: #12373c;
    color: #fff;
}

.octo-vendor-form .submit-button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* Form Message */
.octo-vendor-form .form-message {
    margin-top: 20px;
}

/* Loading State */
.octo-vendor-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .octo-vendor-form .form-group.half-width {
        flex: 1 1 100%;
    }

    .octo-vendor-form .form-row {
        gap: 15px;
    }
}
