/* WordPress Org Chart Plugin - Admin Styles */

.inteorch-admin-container {
    max-width: 1200px;
}

.inteorch-admin-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.inteorch-admin-section h2 {
    margin: 0 0 1.5rem 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Upload Area */
#inteorch-upload-area {
    margin-bottom: 1rem;
}

.upload-instructions {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.upload-instructions p {
    margin: 0 0 0.5rem 0;
    color: #0c4a6e;
    font-size: 0.9rem;
}

.upload-instructions p:last-child {
    margin-bottom: 0;
}

.upload-dropzone {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-dropzone:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.upload-dropzone.active {
    border-color: #667eea;
    background: #f0f4ff;
}

.upload-dropzone p {
    margin: 0 0 1rem 0;
    color: #666;
    font-size: 1rem;
}

#browse-files {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#browse-files:hover {
    background: #5a6fd8;
}

#upload-status {
    margin-top: 1rem;
}

/* Status Messages */
.notice {
    padding: 1rem;
    border-radius: 6px;
    margin: 0;
}

.notice-success {
    background: #f0fff4;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

.notice-error {
    background: #fee;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.notice-info {
    background: #ebf8ff;
    color: #2b6cb0;
    border: 1px solid #90cdf4;
}

/* Companies Table */
#companies-list table {
    width: 100%;
    border-collapse: collapse;
}

#companies-list th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

#companies-list td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

#companies-list tr:hover {
    background: #f8fafc;
}

.delete-company {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.2s ease;
}

.delete-company:hover {
    background: #b91c1c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .inteorch-admin-section {
        padding: 1.5rem;
    }
    
    .upload-dropzone {
        padding: 1.5rem;
    }
    
    .upload-dropzone p {
        font-size: 0.9rem;
    }
    
    #companies-list {
        overflow-x: auto;
    }
    
    #companies-list table {
        min-width: 600px;
    }
}
