/* Vaccination List Styles */

.dha-vaccinations-table {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.dha-table-header {
    display: grid;
    grid-template-columns: 1fr 100px;
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
}

.dha-vaccination-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 16px;
    border-bottom: 1px solid #eee;
    position: relative;
    transition: opacity 0.3s;
}

.dha-vaccination-row.dha-loading {
    opacity: 0.5;
    pointer-events: none;
}

.dha-vaccination-name {
    font-size: 20px;
    font-weight: 600;
    color: #2c3338;
    margin-bottom: 4px;
}

.dha-vaccination-details {
    font-size: 14px;
    color: #666;
}

.dha-col-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.dha-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.dha-btn:hover {
    opacity: 0.9;
}

.dha-btn .dashicons {
    color: white;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.dha-edit-btn {
    background-color: #2271b1;
}

.dha-remove-btn {
    background-color: #d63638;
}

.dha-no-vaccinations {
    text-align: center;
    color: #666;
    padding: 20px;
    font-style: italic;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .dha-table-header {
        display: none;
    }
    
    .dha-vaccination-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        margin-bottom: 12px;
        border: none;
    }

    .dha-col-actions {
        justify-content: stretch;
        gap: 8px;
    }

    .dha-btn {
        flex: 1;
        width: auto;
        height: 36px;
        padding: 0 16px;
        gap: 6px;
    }

    .dha-btn::after {
        display: inline;
    }

    .dha-edit-btn::after {
        content: "Edit";
    }

    .dha-remove-btn::after {
        content: "Remove";
    }
}