/* Settings Page */
.petruth-settings {
    max-width: 800px;
}

.petruth-settings h2 {
    margin-top: 30px;
}

.petruth-settings .form-table th {
    width: 250px;
}

.petruth-upgrade {
    background: #fff;
    padding: 20px;
    margin-top: 30px;
    border-left: 4px solid #00a0d2;
}

.petruth-upgrade h2 {
    margin-top: 0;
    color: #00a0d2;
}

.petruth-upgrade ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.petruth-upgrade .button-primary {
    background: #00a0d2;
    border-color: #00a0d2;
}

/* Meta Boxes */
.petruth-meta-fields p,
.petruth-pro-meta-fields p {
    margin: 1em 0;
}

.petruth-meta-fields label,
.petruth-pro-meta-fields label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.petruth-meta-fields input[type="text"],
.petruth-meta-fields input[type="url"],
.petruth-pro-meta-fields input[type="text"] {
    width: 100%;
    max-width: 500px;
}

/* Column Styles */
.column-views {
    width: 100px;
    text-align: center;
}

/* Analytics Page */
.petruth-analytics-chart {
    margin: 20px 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

/** User Dashboard CSS **/

.petruth-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.petruth-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.petruth-card h2 {
    margin-top: 0;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.petruth-card p {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #0073aa;
}

.petruth-dashboard-section {
    margin-top: 3rem;
}

.petruth-dashboard-section h2 {
    font-size: 18px;
    margin-bottom: 1rem;
}

.petruth-recent-item {
    margin-bottom: 0.75rem;
}

.petruth-recent-item a {
    text-decoration: none;
    color: #0073aa;
}

.petruth-recent-item a:hover {
    text-decoration: underline;
}
