/* Product Info Submission Simple - Styles */

.pis-simple-upload-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.pis-simple-upload-form h2 {
    margin-bottom: 10px;
    color: #333;
}

.pis-simple-description {
    color: #666;
    margin-bottom: 30px;
}

.pis-simple-form-group {
    margin-bottom: 25px;
}

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

.pis-simple-form-group input[type="text"],
.pis-simple-form-group input[type="email"],
.pis-simple-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.pis-simple-form-group input:focus,
.pis-simple-form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.pis-simple-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pis-simple-dropzone {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
    position: relative;
    user-select: none;
}

.pis-simple-dropzone:hover {
    border-color: #4CAF50;
    background: #f0f8f0;
    transform: scale(1.01);
}

.pis-simple-dropzone:active {
    transform: scale(0.99);
}

.pis-simple-dropzone.drag-over {
    border-color: #4CAF50;
    background: #e8f5e9;
    transform: scale(1.02);
}

.pis-simple-dropzone-text svg {
    color: #999;
    margin-bottom: 10px;
}

.pis-simple-dropzone-text p {
    margin: 10px 0;
    color: #333;
    font-weight: 500;
}

.pis-simple-dropzone-text small {
    color: #999;
    font-size: 12px;
}

.pis-simple-file-list {
    margin-top: 20px;
}

.pis-simple-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 10px;
}

.pis-simple-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pis-simple-file-icon {
    width: 24px;
    height: 24px;
    background: #4CAF50;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.pis-simple-file-name {
    color: #333;
    font-size: 14px;
}

.pis-simple-file-size {
    color: #999;
    font-size: 12px;
}

.pis-simple-file-remove {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    line-height: 1;
}

.pis-simple-file-remove:hover {
    color: #d32f2f;
}

.pis-simple-submit-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.pis-simple-submit-btn:hover {
    background: #45a049;
}

.pis-simple-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pis-simple-btn-loading {
    display: inline-block;
}

.pis-simple-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.pis-simple-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.pis-simple-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

/* Member Submissions Table */
.pis-simple-submissions {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.pis-simple-submissions h3 {
    margin-bottom: 20px;
}

.pis-simple-submissions-table {
    width: 100%;
    border-collapse: collapse;
}

.pis-simple-submissions-table th {
    background: #f5f5f5;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.pis-simple-submissions-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.pis-simple-submissions-table tr:hover {
    background: #fafafa;
}

/* Responsive */
@media (max-width: 600px) {
    .pis-simple-row {
        grid-template-columns: 1fr;
    }
    
    .pis-simple-dropzone {
        padding: 30px 20px;
    }
}

/* Loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pis-simple-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}