/* Meetings Manager Frontend Styles */

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

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

.meeting-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.meeting-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.meeting-card-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.meeting-card-header h3 {
    margin: 0;
    font-size: 18px;
}

.meeting-card-header h3 a {
    text-decoration: none;
    color: #333;
}

.meeting-card-header h3 a:hover {
    color: #2271b1;
}

.meeting-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.meeting-status-approved {
    background: #46b450;
    color: #fff;
}

.meeting-status-draft {
    background: #ffb900;
    color: #fff;
}

.meeting-card-body {
    padding: 15px;
}

.meeting-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meeting-meta span {
    font-size: 14px;
    color: #666;
}

.meeting-card-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.meeting-card-footer .button {
    display: inline-block;
    padding: 8px 16px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.meeting-card-footer .button:hover {
    background: #135e96;
}

/* Meeting View */
.meeting-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

.meeting-header {
    border-bottom: 2px solid #2271b1;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meeting-header h1 {
    margin: 0;
    font-size: 32px;
    color: #333;
}

.meeting-metadata {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.metadata-item {
    padding: 10px;
    background: #fff;
    border-left: 3px solid #2271b1;
}

.metadata-item strong {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

/* Major Activities */
.meeting-major-activities {
    margin: 30px 0;
    padding: 20px;
    background: #fffbea;
    border-left: 4px solid #ffb900;
    border-radius: 4px;
}

.meeting-major-activities h2 {
    margin-top: 0;
    color: #333;
}

.meeting-major-activities .note {
    font-style: italic;
    color: #666;
    margin: 10px 0;
}

.activities-list {
    margin-top: 20px;
}

.activity-item {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #e0d8c0;
}

.activity-item h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.activity-item p {
    margin: 0 0 10px 0;
    color: #666;
}

.activity-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.activity-meta span {
    color: #666;
}

.activity-meta .status-not-started {
    color: #999;
}

.activity-meta .status-in-progress {
    color: #2271b1;
    font-weight: bold;
}

.activity-meta .status-at-risk {
    color: #d63638;
    font-weight: bold;
}

.activity-meta .status-completed {
    color: #46b450;
    font-weight: bold;
}

/* Meeting Sections */
.meeting-section {
    margin: 30px 0;
}

.meeting-section h2 {
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.section-content {
    padding: 15px;
    background: #fafafa;
    border-radius: 4px;
}

/* Tasks Table */
.meeting-tasks {
    margin: 30px 0;
}

.tasks-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: #fff;
}

.tasks-table thead {
    background: #f5f5f5;
}

.tasks-table th {
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #ddd;
    font-weight: bold;
    color: #333;
}

.tasks-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.tasks-table tr.task-completed {
    opacity: 0.6;
}

.tasks-table tr.task-completed td {
    text-decoration: line-through;
}

.tasks-table tr:hover {
    background: #f9f9f9;
}

/* Approvals */
.meeting-approvals {
    margin: 30px 0;
    padding: 20px;
    background: #f0f9ff;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
}

.approvals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.approval-item {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #b3d9f2;
}

.approval-item strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.approval-item small {
    color: #666;
}

/* Actions */
.meeting-actions {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
    display: flex;
    gap: 10px;
}

.meeting-actions .button {
    display: inline-block;
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.meeting-actions .button:hover {
    background: #135e96;
}

/* Responsive */
@media (max-width: 768px) {
    .meetings-grid {
        grid-template-columns: 1fr;
    }
    
    .metadata-grid {
        grid-template-columns: 1fr;
    }
    
    .meeting-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .approvals-list {
        grid-template-columns: 1fr;
    }
    
    .meeting-actions {
        flex-direction: column;
    }
    
    .activity-meta {
        flex-direction: column;
        gap: 5px;
    }
}
