/* Public Styles for FC JaaS Meetings */

/* Meetings List */
.fc-jaas-meetings-list {
    margin: 20px 0;
}

.fc-jaas-create-meeting-button {
    margin-bottom: 20px;
}

.fc-jaas-upcoming-meetings,
.fc-jaas-past-meetings {
    margin: 30px 0;
}

.fc-jaas-upcoming-meetings h3,
.fc-jaas-past-meetings h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    font-size: 20px;
    color: #333;
}

/* Meetings Grid */
.fc-jaas-meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.fc-jaas-meeting-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s, transform 0.2s;
}

.fc-jaas-meeting-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.fc-jaas-meeting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.fc-jaas-meeting-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
    flex: 1;
}

.fc-jaas-meeting-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.fc-jaas-status-scheduled {
    background: #e3f2fd;
    color: #1976d2;
}

.fc-jaas-status-in_progress {
    background: #c8e6c9;
    color: #2e7d32;
}

.fc-jaas-status-ended {
    background: #f5f5f5;
    color: #616161;
}

.fc-jaas-meeting-description {
    margin: 12px 0;
}

.fc-jaas-meeting-description p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.fc-jaas-meeting-meta {
    margin: 15px 0;
    padding: 12px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.fc-jaas-meeting-time,
.fc-jaas-meeting-type {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-size: 14px;
    color: #666;
}

.fc-jaas-meeting-time .dashicons,
.fc-jaas-meeting-type .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.fc-jaas-meeting-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.fc-jaas-meeting-actions .button {
    flex: 1;
    text-align: center;
}

/* No meetings message */
.fc-jaas-no-meetings {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

/* Past meetings table */
.fc-jaas-meetings-table {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 20px 0;
}

.fc-jaas-meetings-table table {
    width: 100%;
    border-collapse: collapse;
}

.fc-jaas-meetings-table th,
.fc-jaas-meetings-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.fc-jaas-meetings-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.fc-jaas-meetings-table tbody tr:hover {
    background: #f9f9f9;
}

.fc-jaas-meetings-table tbody tr:last-child td {
    border-bottom: none;
}

/* Meeting Embed */
.fc-jaas-meeting-embed {
    margin: 20px 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.fc-jaas-meeting-embed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.fc-jaas-meeting-embed-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.fc-jaas-meeting-container {
    width: 100%;
    min-height: 600px;
    background: #000;
}

/* Buttons */
.fc-jaas-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.fc-jaas-btn-primary {
    background: #0066cc;
    color: #fff;
}

.fc-jaas-btn-primary:hover {
    background: #0052a3;
}

.fc-jaas-btn-danger {
    background: #dc3545;
    color: #fff;
}

.fc-jaas-btn-danger:hover {
    background: #c82333;
}

/* Responsive */
@media (max-width: 768px) {
    .fc-jaas-meetings-grid {
        grid-template-columns: 1fr;
    }

    .fc-jaas-meeting-embed-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .fc-jaas-meetings-table {
        font-size: 14px;
    }

    .fc-jaas-meetings-table th,
    .fc-jaas-meetings-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .fc-jaas-meeting-actions {
        flex-direction: column;
    }

    .fc-jaas-meeting-header {
        flex-direction: column;
        gap: 10px;
    }

    .fc-jaas-meeting-status {
        align-self: flex-start;
    }
}
