.vet-blocker-container {
    max-width: 1200px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.vet-blocker-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.vet-blocker-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.vet-blocker-header p {
    margin: 0;
    opacity: 0.9;
}

.vet-blocker-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.vet-blocker-form h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.form-group input {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-group small {
    color: #888;
    margin-top: 5px;
    font-size: 12px;
}

.vet-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vet-btn-block {
    background: #dc3545;
    color: white;
}

.vet-btn-block:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-icon {
    font-size: 18px;
}

.vet-blocker-list {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.list-header h3 {
    margin: 0;
    color: #333;
}

#search-blocked {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    width: 300px;
    font-size: 14px;
}

#search-blocked:focus {
    outline: none;
    border-color: #667eea;
}

.vet-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin-top: 20px;
}

.vet-blocked-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 600px; /* Minimum width to trigger horizontal scroll on mobile */
}

.vet-blocked-table thead {
    background: #f8f9fa;
}

.vet-blocked-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #e0e0e0;
}

.vet-blocked-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.vet-blocked-table tbody tr:hover {
    background: #f8f9fa;
}

.btn-unblock {
    padding: 8px 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-unblock:hover {
    background: #218838;
}

.loading, .empty {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 16px;
}

.vet-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 9999;
    min-width: 300px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.vet-message.success {
    background: #28a745;
    color: white;
}

.vet-message.error {
    background: #dc3545;
    color: white;
}

.vet-error {
    background: #fff3cd;
    color: #856404;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .list-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #search-blocked {
        width: 100%;
    }
    
    /* Ensure table wrapper is scrollable */
    .vet-table-wrapper {
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    .vet-blocked-table {
        font-size: 14px;
        margin-top: 0;
    }
    
    .vet-blocked-table th,
    .vet-blocked-table td {
        padding: 10px 8px;
        white-space: nowrap; /* Prevent text wrapping */
    }
    
    /* Add scroll indicator */
    .vet-table-wrapper::after {
        content: "← Scroll to see more →";
        display: block;
        text-align: center;
        padding: 8px;
        background: #f8f9fa;
        color: #888;
        font-size: 12px;
        border-top: 1px solid #e0e0e0;
    }
    
    /* Hide scroll indicator when not needed */
    @supports (-webkit-overflow-scrolling: touch) {
        .vet-table-wrapper::after {
            display: none;
        }
    }
}