/* Estilos básicos para el plugin */
.nvp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nvp-form-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.nvp-title {
    color: white;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.nvp-form-group {
    margin-bottom: 25px;
}

.nvp-form-group label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nvp-form-group input,
.nvp-form-group textarea,
.nvp-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    font-size: 16px;
    transition: all 0.3s ease;
}

.nvp-form-group input:focus,
.nvp-form-group textarea:focus,
.nvp-form-group select:focus {
    outline: none;
    border-color: #ff6b6b;
}

.nvp-hint {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    margin-top: 5px;
}

.nvp-file-upload-area {
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.nvp-upload-placeholder {
    text-align: center;
    padding: 30px;
    color: white;
}

.nvp-upload-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.nvp-btn-upload {
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    margin-top: 10px;
}

.nvp-btn-upload:hover {
    background: white;
    color: #667eea;
}

.nvp-upload-preview {
    position: relative;
    padding: 15px;
    text-align: center;
}

.nvp-upload-preview img,
.nvp-upload-preview video {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
}

.nvp-remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
}

.nvp-gallery-container {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
}

.nvp-gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    min-height: 100px;
}

.nvp-btn-add-gallery {
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    width: 100%;
}

.nvp-btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-transform: uppercase;
}

.nvp-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.nvp-table-wrapper {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.nvp-subtitle {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.nvp-table {
    width: 100%;
    border-collapse: collapse;
}

.nvp-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nvp-table th,
.nvp-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.nvp-table tbody tr:hover {
    background: #f8f9fa;
}

.nvp-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.nvp-status.published {
    background: #d4edda;
    color: #155724;
}

.nvp-status.draft {
    background: #fff3cd;
    color: #856404;
}

.nvp-btn-delete {
    padding: 6px 12px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.nvp-btn-delete:hover {
    background: #c82333;
}

#nvp-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 10px;
    display: none;
}

#nvp-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

#nvp-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

.nvp-empty-table {
    text-align: center;
    padding: 40px;
    color: #999;
}

@media (max-width: 768px) {
    .nvp-form-wrapper {
        padding: 20px;
    }
    
    .nvp-table {
        font-size: 12px;
    }
    
    .nvp-title {
        font-size: 24px;
    }
}