/* Enhanced Action Panel Styling */

/* Main container styling */
.clt_Race_action-panel-container {
    background-color: #f5f7fa;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Header styling */
.clt_Race_action-panel-header {
    background-color: #2c5f8d;
    color: white;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Search box styling */
.clt_Race_action-panel-search {
    background-color: white;
    padding: 12px 16px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    margin: 16px 0;
}

.clt_Race_action-panel-search input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
}

/* Section headers (Add Athlete, Add Entry, etc.) */
.clt_Race_action-panel-section-header {
    background-color: #4a90e2;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    margin: 12px 0 8px 0;
    display: flex;
    align-items: center;
}

.clt_Race_action-panel-section-header::before {
    content: "➕";
    margin-right: 8px;
    font-size: 14px;
}

/* Individual option items with white background */
.clt_Race_action-panel-item {
    background-color: white;
    padding: 14px 16px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #e1e4e8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clt_Race_action-panel-item:hover {
    background-color: #f8f9fa;
    border-color: #4a90e2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Left side content (main info) */
.clt_Race_action-panel-item-main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.clt_Race_action-panel-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #24292e;
    margin-bottom: 4px;
}

.clt_Race_action-panel-item-details {
    font-size: 13px;
    color: #586069;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.clt_Race_action-panel-item-detail {
    display: flex;
    align-items: center;
}

.clt_Race_action-panel-item-detail::before {
    content: "•";
    margin-right: 6px;
    color: #4a90e2;
}

/* Right side badges/tags */
.clt_Race_action-panel-item-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.clt_Race_action-panel-badge {
    background-color: #e8f4f8;
    color: #2c5f8d;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.clt_Race_action-panel-badge.clt_Race_novice {
    background-color: #fff3cd;
    color: #856404;
}

.clt_Race_action-panel-badge.clt_Race_under-15 {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Settings icon */
.clt_Race_action-panel-settings-icon {
    color: #959da5;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.clt_Race_action-panel-settings-icon:hover {
    color: #4a90e2;
}

/* Nested/indented items */
.clt_Race_action-panel-item.clt_Race_nested {
    margin-left: 24px;
    background-color: #fafbfc;
}

.clt_Race_action-panel-item.clt_Race_nested:hover {
    background-color: white;
}

/* Race/Event specific styling */
.clt_Race_race-info-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.clt_Race_race-title {
    font-size: 15px;
    font-weight: 600;
    color: #24292e;
}

.clt_Race_race-details {
    font-size: 13px;
    color: #586069;
}

.clt_Race_race-status {
    font-size: 12px;
    color: #dc3545;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .clt_Race_action-panel-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .clt_Race_action-panel-item-badges {
        margin-top: 8px;
        width: 100%;
        justify-content: flex-start;
    }
}
