/* Dashboard
 * Split from application.css to keep page-specific styles maintainable.
 */

.dashboard-event-card {
    display: block;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 20px rgba(15, 23, 42, 0.04);
}

.dashboard-event-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.dashboard-event-title {
    min-width: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dashboard-event-status {
    flex-shrink: 0;
    max-width: 44%;
    white-space: nowrap;
}

.dashboard-event-date {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.35;
}

.dashboard-event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.dashboard-event-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.dashboard-event-open {
    flex-shrink: 0;
    color: #2563eb;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
    .dashboard-event-card {
        padding: 16px;
        border-radius: 18px;
    }

    .dashboard-event-main {
        gap: 10px;
    }

    .dashboard-event-title {
        font-size: 16px;
    }

    .dashboard-event-status {
        max-width: 48%;
        padding-inline: 10px;
        font-size: 12px;
    }

    .dashboard-event-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-event-meta {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
