.vacei-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.vacei-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(36, 39, 72, 0.08);
}

.vacei-section h3 {
    margin: 0 0 20px 0;
    color: #242748;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 3px solid #6f74b8;
    padding-bottom: 10px;
}

.vacei-field {
    margin-bottom: 20px;
}

.vacei-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #242748;
    font-size: 14px;
}

.vacei-field input[type="text"],
.vacei-field input[type="email"],
.vacei-field input[type="tel"],
.vacei-field input[type="number"],
.vacei-field input[type="date"],
.vacei-field input[type="month"],
.vacei-field select,
.vacei-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: #242748;
}

.vacei-field input:focus,
.vacei-field select:focus,
.vacei-field textarea:focus {
    outline: none;
    border-color: #6f74b8;
    box-shadow: 0 0 0 3px rgba(111, 116, 184, 0.15);
}

.vacei-field textarea {
    resize: vertical;
    font-family: inherit;
}

.vacei-field small {
    display: block;
    margin-top: 5px;
    color: #6f74b8;
    font-size: 12px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin: 0;
    color: #242748;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
    accent-color: #6f74b8;
}

.checkbox-label {
    display: flex;
    align-items: start;
    font-weight: normal !important;
    cursor: pointer;
    color: #242748;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: auto;
    accent-color: #6f74b8;
}

.vacei-submit {
    text-align: center;
    margin-top: 30px;
}

.vacei-btn {
    background: linear-gradient(135deg, #6f74b8 0%, #242748 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(36, 39, 72, 0.2);
}

.vacei-btn:hover {
    background: linear-gradient(135deg, #242748 0%, #6f74b8 100%);
    box-shadow: 0 6px 8px rgba(36, 39, 72, 0.3);
    transform: translateY(-2px);
}

.vacei-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

#vacei-message {
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#vacei-message.success {
    background: #e8f5e9;
    border: 1px solid #81c784;
    color: #2e7d32;
}

#vacei-message.success strong {
    color: #1b5e20;
}

#vacei-message.error {
    background: #ffebee;
    border: 1px solid #e57373;
    color: #c62828;
}

#vacei-message.error strong {
    color: #b71c1c;
}

.conditional {
    display: none;
}

/* File upload styling */
.vacei-field input[type="file"] {
    padding: 8px;
    border: 2px dashed #6f74b8;
    border-radius: 4px;
    background-color: rgba(111, 116, 184, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vacei-field input[type="file"]:hover {
    border-color: #242748;
    background-color: rgba(111, 116, 184, 0.1);
}

/* Required field indicator */
.vacei-field label:after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

.vacei-field:has(input:not([required])) label:after,
.vacei-field:has(select:not([required])) label:after,
.vacei-field:has(textarea:not([required])) label:after {
    content: "";
}

/* Select dropdown styling */
.vacei-field select {
    cursor: pointer;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236f74b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
    appearance: none;
}

/* Responsive */
@media (max-width: 768px) {
    .vacei-form-container {
        padding: 10px;
    }
    
    .vacei-section {
        padding: 15px;
    }
    
    .vacei-section h3 {
        font-size: 18px;
    }
    
    .vacei-btn {
        width: 100%;
        padding: 16px 20px;
    }
}

/* Loading state */
.vacei-btn.loading {
    position: relative;
    color: transparent;
}

.vacei-btn.loading:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Focus visible for accessibility */
.vacei-btn:focus-visible,
.vacei-field input:focus-visible,
.vacei-field select:focus-visible,
.vacei-field textarea:focus-visible {
    outline: 2px solid #6f74b8;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


form#vacei-service-form ::placeholder {
    color: grey;
}