/* Plugin Page Styles */
.navigation {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.nav-btn {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 20px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: #005a87;
    color: white;
}

.settings {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.invapp-text-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.invapp-submit-btn {
    padding: 10px 20px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.invapp-submit-btn:hover {
    background: #005a87;
}

.invapp-notice {
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 3px;
}

.invapp-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.invapp-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.invapp-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.invapp-data-table th,
.invapp-data-table td {
    padding: 10px;
    text-align: right;
    border: 1px solid #ddd;
}

.invapp-data-table th:first-child,
.invapp-data-table td:first-child {
    text-align: left;
}

.invapp-data-table th {
    background: #f8f9fa;
    cursor: pointer;
    position: relative;
}

.invapp-data-table th:hover {
    background: #e9ecef;
}

.sort-icons {
    margin-left: 5px;
    font-size: 12px;
    opacity: 0.6;
}

/* Plugin Admin Styles */
.invapp-cron-jobs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.invapp-cron-job-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.invapp-cron-job-card h2 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.invapp-cron-job-card p {
    color: #666;
    line-height: 1.5;
}

.invapp-cron-job-card form {
    margin-top: 15px;
}

/* Chart styles */
.invapp-chart-container {
    width: 120px;
    height: 60px;
    margin: 0 auto;
}

.invapp-chart-cell {
    padding: 2px !important;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .invapp-cron-jobs {
        grid-template-columns: 1fr;
    }
}

/* Textarea styling for config */
.large-text.code {
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.5;
}
