/**
 * WP Event Manager Frontend Styles
 */

/* Event Container */
.wp-event-manager-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 16px 0;
}

/* Session Card */
.session-card {
    background-color: #FFD700;
    border-radius: 12px;
    padding: 20px;
    color: #000;
    max-width: 300px;
  } 

/* Typography */
.text-muted {
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.session-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
    margin: 8px 0 16px;
}

/* Meta information */
.session-meta {
    display: flex;
    align-items: center;
    margin: 8px 0;
    color: black;
    font-size: 14px;
    gap: 8px;
}

.session-meta i {
    margin-right: 8px;
    color: #1a73e8;
}

/* Margin utilities */
.mt-2 {
    margin-top: 8px;
}

.mt-3 {
    margin-top: 16px;
}

.w-100 {
    width: 100%;
}

/* Button */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.btn-black {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-black:hover {
    background-color: #333;
    border-color: #333;
}

/* No events message */
.no-events {
    text-align: center;
    padding: 24px;
    font-size: 16px;
    color: #6b7280;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wp-event-manager-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wp-event-manager-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .wp-event-manager-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation for upcoming events */
.session-card:hover .text-muted {
    color: #1a73e8;
    transition: color 0.3s ease;
}

/* Events listing css */
.wp-event-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.wp-event-table th, .wp-event-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.wp-event-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.wp-event-table .event-link {
    text-decoration: none;
    color: #0073e6;
    font-weight: bold;
}

.wp-event-table .event-link:hover {
    text-decoration: underline;
}
