/* GPLRock Admin Styles */

/* Admin Menü Stilleri */
.gplrock-admin-menu {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gplrock-admin-menu h2 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.gplrock-menu-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.gplrock-menu-buttons .button {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gplrock-menu-buttons .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gplrock-menu-buttons .button-primary {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    border-color: #007cba;
    color: white;
}

.gplrock-menu-buttons .button-primary:hover {
    background: linear-gradient(135deg, #005a87 0%, #004a6b 100%);
    border-color: #005a87;
}

.gplrock-menu-buttons .button-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border-color: #6c757d;
    color: white;
}

.gplrock-menu-buttons .button-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    border-color: #5a6268;
}

/* İstatistik Kartları */
.gplrock-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-card h3 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #007cba;
    margin: 10px 0;
}

.stat-text {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
}

/* Hızlı İşlemler */
.gplrock-quick-actions {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gplrock-quick-actions h2 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 20px;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.action-buttons .button {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-buttons .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Sistem Durumu */
.gplrock-system-status {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gplrock-system-status h2 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 20px;
    font-weight: 600;
}

.status-ok {
    color: #28a745;
    font-weight: 600;
}

.status-error {
    color: #dc3545;
    font-weight: 600;
}

.status-warning {
    color: #ffc107;
    font-weight: 600;
}

/* Son Yayımlanan İçerikler */
.gplrock-recent-posts {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gplrock-recent-posts h2 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 20px;
    font-weight: 600;
}

/* Tablo Stilleri */
.wp-list-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wp-list-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.wp-list-table td, .wp-list-table th {
    padding: 12px 15px;
}

/* Log Stilleri */
.log-type {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.log-type-info {
    background: #d1ecf1;
    color: #0c5460;
}

.log-type-error {
    background: #f8d7da;
    color: #721c24;
}

.log-type-warning {
    background: #fff3cd;
    color: #856404;
}

.log-type-success {
    background: #d4edda;
    color: #155724;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .gplrock-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gplrock-menu-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .button {
        justify-content: center;
    }
}

/* Post İçeriğindeki İstatistikler Bölümü */
.gplrock-stats {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.gplrock-stat-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gplrock-stat-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.gplrock-stat-value {
    font-weight: 500;
    font-size: 0.9rem;
    color: #111;
}

/* Ayarlar Sayfası Stilleri */
.gplrock-settings-section {
    background: white;
} 