/* Base form styling */
.elog-vse-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: sans-serif;
    transition: all 0.3s ease;
}

.elog-vse-form input,
.elog-vse-form select,
.elog-vse-form button {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.elog-vse-form input:focus,
.elog-vse-form select:focus {
    border-color: #0071b3;
    outline: none;
}

.elog-vse-form button {
    background-color: #005a8c;
    color: white;
    border: none;
    cursor: pointer;
}

.elog-vse-form button:hover {
    background-color: #0071b3;
}

/* Responsive tweaks */
@media screen and (max-width: 480px) {
    .elog-vse-form {
        padding: 15px;
    }

    .elog-vse-form input,
    .elog-vse-form select,
    .elog-vse-form button {
        font-size: 14px;
        padding: 8px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .elog-vse-form {
        background-color: #1e1e1e;
        border: 1px solid #333;
        color: #eee;
    }

    .elog-vse-form input,
    .elog-vse-form select {
        background-color: #2a2a2a;
        color: #fff;
        border: 1px solid #444;
    }

    .elog-vse-form button {
        background-color: #0d6efd;
    }

    .elog-vse-form button:hover {
        background-color: #0b5ed7;
    }
}
/* Admin Table Tweaks */
.wp-list-table th,
.wp-list-table td,
.widefat th,
.widefat td {
    font-size: 14px;
    padding: 8px 12px;
}

.widefat tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media (prefers-color-scheme: dark) {
    .widefat th,
    .widefat td {
        background-color: #1e1e1e;
        color: #eee;
    }

    .widefat tr:nth-child(even) {
        background-color: #2a2a2a;
    }
}
.elog-vse-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 1200px;
}

.elog-vse-course-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s ease;
}
.elog-vse-course-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.elog-vse-course-img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.elog-vse-enroll-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #005a8c;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}
.elog-vse-enroll-btn:hover {
    background: #0071b3;
}

@media (prefers-color-scheme: dark) {
    .elog-vse-course-card {
        background: #1e1e1e;
        border-color: #333;
        color: #eee;
    }
    .elog-vse-course-card a {
        color: white;
    }
}
