/* Main Styles for Arsip Dokumen Desa Plugin */
.add-wrap {
    max-width: 1200px;
    margin: 20px auto;
}

.add-dashboard {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.add-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.add-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.add-stat-card:hover {
    transform: translateY(-5px);
}

.add-stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    opacity: 0.9;
}

.add-stat-number {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}

.add-quick-links {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #0073aa;
}

.add-quick-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.add-quick-buttons .button {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 5px;
}

.add-recent-documents {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    overflow: hidden;
}

.add-recent-documents h2 {
    background: #f1f1f1;
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid #ccd0d4;
}

.add-form-section {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-left: 4px solid #0073aa;
}

.add-table-section {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Form styling */
.form-table th {
    width: 200px;
}

.regular-text, .large-text, .small-text {
    width: 100%;
    max-width: 500px;
}

textarea.large-text {
    min-height: 120px;
}

/* Table styling */
.wp-list-table {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wp-list-table th {
    font-weight: 600;
    background: #f6f7f7;
}

.wp-list-table td {
    vertical-align: middle;
}

/* Button styling */
.button-danger {
    background: #dc3232;
    border-color: #dc3232;
    color: white;
}

.button-danger:hover {
    background: #a00;
    border-color: #a00;
    color: white;
}

.button-small {
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 2px;
}

/* Responsive design */
@media screen and (max-width: 782px) {
    .add-stats-container {
        grid-template-columns: 1fr;
    }
    
    .add-quick-buttons {
        flex-direction: column;
    }
    
    .form-table th {
        width: 100%;
        display: block;
        padding-bottom: 5px;
    }
    
    .form-table td {
        display: block;
        width: 100%;
        padding-top: 0;
    }
}

/* Print styles */
@media print {
    .add-quick-buttons,
    .wp-heading-inline .page-title-action,
    .submit,
    .add-table-section .button {
        display: none !important;
    }
}