.vmi-form-container {
    margin: 30px 0;
}

/* Table Styles - Simple Word-style */
.vmi-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.vmi-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    background: #fff;
}

.vmi-table th,
.vmi-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.vmi-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.vmi-table tr:nth-child(even) {
    background: #fafafa;
}

.vmi-table td.vmi-empty {
    text-align: center;
    color: #666;
    font-style: italic;
}

.vmi-table td.vmi-placeholder {
    color: #999;
    font-style: italic;
}

/* Submit Button */
.vmi-submit-section {
    margin-top: 15px;
}

.vmi-open-form {
    padding: 10px 20px;
    font-size: 14px;
}

/* Modal Styles */
.vmi-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.vmi-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vmi-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.vmi-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.vmi-modal-close:hover {
    color: #000;
}

.vmi-modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Form Styles */
.vmi-submission-form .vmi-form-field {
    margin-bottom: 20px;
}

.vmi-submission-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.vmi-submission-form input[type="text"],
.vmi-submission-form input[type="url"],
.vmi-submission-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.vmi-submission-form textarea {
    resize: vertical;
}

.vmi-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.vmi-form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
}

.vmi-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vmi-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .vmi-table {
        font-size: 14px;
    }
    
    .vmi-table th,
    .vmi-table td {
        padding: 8px;
    }
    
    .vmi-modal-content {
        padding: 20px;
        width: 95%;
    }
}