/* Custom styles for Rally Tracker */

/* March entry styling */
.march-entry {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
    background-color: white;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.march-entry:hover {
    background-color: #f9fafb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.march-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.march-entry > span {
    flex: 1 1 auto;
    min-width: 120px;
}

/* Rally entry styling */
.rally-entry {
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.rally-entry:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.rally-entry > div {
    margin-bottom: 0.5rem;
}

/* Make sure buttons have good hover effects */
button {
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:active {
    transform: translateY(0);
}

/* Media queries for responsive design */
@media (max-width: 640px) {
    .march-entry {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .march-entry > span {
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .march-entry .button-group {
        display: flex;
        gap: 0.25rem;
        width: 100%;
        justify-content: flex-end;
    }
    
    /* Make lists stand out better on mobile */
    .march-times-list, .rallies-list {
        background-color: #f1f5f9 !important;
    }
}