/* Genel görünüm */
.mr-form .form-table {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mr-form th {
    width: 200px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}
.mr-form td {
    padding: 10px 5px;
}
.mr-form input[type="text"],
.mr-form input[type="number"],
.mr-form input[type="date"],
.mr-form input[type="time"],
.mr-form select,
.mr-form textarea {
    width: 100%;
    max-width: 300px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}
.mr-form textarea {
    resize: vertical;
}
.mr-form .description {
    font-size: 12px;
    color: #555;
}

/* Kayıt ekleme/düzenleme butonları */
.mr-form .button-primary {
    background: #0073aa;
    border-color: #006799;
    box-shadow: 0 1px 0 #006799;
}
.mr-form .button-primary:hover {
    background: #006799;
}

/* Admin tabloları sadece MR eklentisi için */
.mr-admin-wrap table.widefat {
    margin-top: 10px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.mr-admin-wrap table.widefat th {
    background: #f7f7f7;
    font-weight: 600;
    text-align: center;
    font-size: 13px;   /* Başlık boyutu */
    padding: 8px 6px;
}
.mr-admin-wrap table.widefat td {
    text-align: center;
    vertical-align: middle;
    font-size: 12.5px; /* Hücre boyutu */
    padding: 7px 6px;
}

/* Ayarlar tablosundaki formlar */
.mr-admin-wrap table.widefat input[type="text"] {
    width: 180px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}
.mr-admin-wrap table.widefat form {
    margin: 0;
    display: inline-block;
}
.mr-admin-wrap table.widefat button {
    margin: 2px 0;
    font-size: 12px;
}

/* Frontend tabloları */
.mr-frontend-table {
    font-family: Arial, sans-serif;
    margin: 20px 0;
}
.mr-frontend-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.mr-frontend-table th,
.mr-frontend-table td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
}
.mr-frontend-table th {
    background-color: #f3f3f3;
    font-weight: bold;
    font-size: 13px;
}
.mr-frontend-table td {
    font-size: 12.5px;
}

/* Filtreleme formu */
.mr-filter-form {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.mr-filter-form label {
    font-size: 13px;
}
.mr-filter-form input,
.mr-filter-form select,
.mr-filter-form button {
    padding: 5px 8px;
    font-size: 13px;
}

/* Başarı mesajları */
.notice-success {
    background: #e9f9ed;
    border-left: 4px solid #2f8f2f;
    color: #2f8f2f;
    padding: 12px;
    margin: 15px 0;
    border-radius: 4px;
}

/* Düşük randıman satırları */
.mr-frontend-table tr[style*="background:#fff6b7;"],
.mr-admin-wrap table.widefat tr[style*="background:#fff6b7;"] {
    background-color: #fff9cc !important;
    color: #333;
    font-weight: 500;
}

/* Responsive tablolar */
@media (max-width: 1024px) {
    .mr-admin-wrap table.widefat {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border: 1px solid #ccc;
        border-radius: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .mr-admin-wrap table.widefat thead,
    .mr-admin-wrap table.widefat tbody,
    .mr-admin-wrap table.widefat tr,
    .mr-admin-wrap table.widefat th,
    .mr-admin-wrap table.widefat td {
        white-space: nowrap;
    }

    .mr-filter-form {
        flex-direction: column;
        align-items: flex-start;
    }
}
