﻿.step-content-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.step-content-body {
    padding: 2rem;
}

.step-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .step-title i {
        font-size: 1.5rem;
    }

.step-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.step-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selected-count-badge {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    padding: 0.375rem 0.75rem;
    background-color: #f3f4f6;
    border-radius: 0.375rem;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease-in-out;
    border: 1px solid transparent;
    cursor: pointer;
}

    .btn-modern:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

.btn-modern-secondary {
    background-color: white;
    color: #374151;
    border-color: #d1d5db;
}

    .btn-modern-secondary:hover {
        background-color: #f9fafb;
    }

.tracking-units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    max-height: 500px;
    overflow-y: auto;
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.tracking-unit-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

    .tracking-unit-card:hover {
        border-color: #d1d5db;
    }

    .tracking-unit-card.selected {
        border-color: #3b82f6;
        background-color: #eff6ff;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

.tracking-unit-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    cursor: pointer;
    flex-shrink: 0;
}

    .tracking-unit-checkbox:checked {
        background-color: #2563eb;
        border-color: #2563eb;
    }

.tracking-unit-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .tracking-unit-icon i {
        font-size: 1.25rem;
    }

.tracking-unit-info {
    flex-grow: 1;
    min-width: 0;
}

.tracking-unit-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracking-unit-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.text-primary {
    color: #2563eb !important;
}

/* Custom scrollbar for grid */
.tracking-units-grid::-webkit-scrollbar {
    width: 6px;
}

.tracking-units-grid::-webkit-scrollbar-track {
    background: transparent;
}

.tracking-units-grid::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

    .tracking-units-grid::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
